Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 115.6 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002275/0.002275, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.63/1.63, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.133/3.133, allocations: 0.49 GB / 0.7923 GB, free: 1.266 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 67.91 kB / 1.15 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234/1.236, allocations: 176.1 MB / 1.322 GB, free: 24.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.00221/1.239, allocations: 0.8661 MB / 1.322 GB, free: 24.08 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009942/1.24, allocations: 0.8869 MB / 1.323 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.088e-05/1.24, allocations: 0 / 1.323 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.965e-05/1.24, allocations: 14.72 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/1.24, allocations: 19.55 kB / 1.323 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 7.372e-05/1.24, allocations: 28.53 kB / 1.323 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001348/1.24, allocations: 120.7 kB / 1.323 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/1.24, allocations: 34.67 kB / 1.323 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.568e-05/1.24, allocations: 47.23 kB / 1.323 GB, free: 23.26 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.104e-05/1.24, allocations: 56.08 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/1.24, allocations: 15.28 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.589e-05/1.24, allocations: 10.38 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/1.24, allocations: 22.34 kB / 1.324 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/1.24, allocations: 58.14 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/1.241, allocations: 137.8 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.241, allocations: 2.844 kB / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.104e-06/1.241, allocations: 0 / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.545e-06/1.241, allocations: 0 / 1.324 GB, free: 23.12 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006328/1.241, allocations: 433.4 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.241, allocations: 15.52 kB / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.889e-05/1.241, allocations: 384 / 1.324 GB, free: 22.71 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/1.241, allocations: 44.98 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/1.241, allocations: 10.77 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/1.242, allocations: 202.5 kB / 1.324 GB, free: 22.44 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/1.242, allocations: 7.656 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/1.242, allocations: 13.81 kB / 1.324 GB, free: 22.43 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/1.242, allocations: 123.9 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/1.242, allocations: 0 / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/1.242, allocations: 2.406 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/1.242, allocations: 2.656 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000457/1.242, allocations: 137.9 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/1.243, allocations: 396.7 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/1.243, allocations: 103.8 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002306/1.244, allocations: 61.31 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/1.244, allocations: 2.906 kB / 1.325 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.437e-05/1.244, allocations: 34.56 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/1.244, allocations: 0 / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0008135/1.244, allocations: 210.9 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/1.244, allocations: 58.19 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/1.245, allocations: 126.5 kB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/1.245, allocations: 28.45 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/1.245, allocations: 106.4 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/1.245, allocations: 30.03 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/1.245, allocations: 21.72 kB / 1.326 GB, free: 21.47 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.161e-05/1.245, allocations: 317.8 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/1.245, allocations: 58.78 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/1.245, allocations: 78.56 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004114/1.246, allocations: 121.9 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.246, allocations: 0 / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000462/1.246, allocations: 170.6 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/1.246, allocations: 5.5 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/1.246, allocations: 80 / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/1.246, allocations: 0 / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/1.246, allocations: 35.62 kB / 1.327 GB, free: 21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/1.246, allocations: 6.547 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/1.246, allocations: 17.91 kB / 1.327 GB, free: 20.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/1.246, allocations: 11.34 kB / 1.327 GB, free: 20.98 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.757e-05/1.246, allocations: 118.3 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/1.246, allocations: 9.016 kB / 1.327 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.329e-05/1.247, allocations: 15.75 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.399e-06/1.247, allocations: 6.5 kB / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.247, allocations: 0 / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/1.247, allocations: 0 / 1.327 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/1.247, allocations: 211.4 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.247, allocations: 0 / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/1.247, allocations: 35.3 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.247, allocations: 0 / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/1.247, allocations: 3.156 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.247, allocations: 3.938 kB / 1.327 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/1.247, allocations: 0 / 1.327 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004867/1.247, allocations: 250.7 kB / 1.327 GB, free: 20.45 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.295e-05/1.247, allocations: 83.88 kB / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/1.247, allocations: 6.094 kB / 1.327 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/1.248, allocations: 27.16 kB / 1.327 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/1.248, allocations: 6.312 kB / 1.327 GB, free: 20.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/1.248, allocations: 6.719 kB / 1.327 GB, free: 20.34 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.702e-05/1.248, allocations: 100.1 kB / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.248, allocations: 0 / 1.327 GB, free: 20.26 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002262/1.248, allocations: 23.88 kB / 1.327 GB, free: 20.25 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007473/1.249, allocations: 0.7848 MB / 1.328 GB, free: 19.56 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005631/1.249, allocations: 119.2 kB / 1.328 GB, free: 19.54 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.249, allocations: 4 kB / 1.328 GB, free: 19.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002508/1.249, allocations: 64.36 kB / 1.328 GB, free: 19.53 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/1.25, allocations: 23.94 kB / 1.328 GB, free: 19.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/1.252, allocations: 1.651 MB / 1.33 GB, free: 18.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/1.252, allocations: 0.6991 MB / 1.331 GB, free: 17.49 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.663e-05/1.252, allocations: 7.531 kB / 1.331 GB, free: 17.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/1.253, allocations: 30.59 kB / 1.331 GB, free: 17.46 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.253, allocations: 0.5312 kB / 1.331 GB, free: 17.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/1.273, allocations: 2.521 MB / 1.333 GB, free: 17.06 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.511/9.785, allocations: 14.78 kB / 1.333 GB, free: 17.05 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.84312251996016]