Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.001388/0.001388, allocations: 105.1 kB / 18.99 MB, free: 2.617 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.00155/0.00155, allocations: 222.1 kB / 22.29 MB, free: 5.285 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.546/1.546, allocations: 230.6 MB / 256.1 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.45/3.45, allocations: 0.5096 GB / 0.8148 GB, free: 18.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [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.002159/0.002159, allocations: 68.41 kB / 1.184 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4373, allocations: 181.4 MB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.003166/0.4404, allocations: 1.138 MB / 1.363 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.442, allocations: 0.9911 MB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.4421, allocations: 4 kB / 1.364 GB, free: 13.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.711e-05/0.4422, allocations: 27.66 kB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.4424, allocations: 35.66 kB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.4425, allocations: 99.91 kB / 1.364 GB, free: 13.36 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.4429, allocations: 299.4 kB / 1.364 GB, free: 13.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.4433, allocations: 141.9 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/0.4435, allocations: 123.6 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000147/0.4436, allocations: 99.45 kB / 1.364 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.4437, allocations: 36 kB / 1.364 GB, free: 12.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.4e-05/0.4437, allocations: 36 kB / 1.364 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.67e-05/0.4438, allocations: 63.84 kB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.4439, allocations: 103.5 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005315/0.4444, allocations: 458.2 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.4444, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.295e-06/0.4445, allocations: 0 / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.4445, allocations: 0 / 1.365 GB, free: 12.02 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009723/0.4454, allocations: 485.8 kB / 1.365 GB, free: 11.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.4455, allocations: 12.03 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.4455, allocations: 28.8 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.4459, allocations: 204.8 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.701e-05/0.4459, allocations: 21.03 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.979e-05/0.446, allocations: 24.38 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.4466, allocations: 258.6 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4466, allocations: 192 / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.4467, allocations: 15.94 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.4467, allocations: 4 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007078/0.4474, allocations: 238.5 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.4486, allocations: 0.6054 MB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006194/0.4493, allocations: 202.7 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.4496, allocations: 112.7 kB / 1.367 GB, free: 9.738 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.4496, allocations: 4 kB / 1.367 GB, free: 9.734 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.4497, allocations: 42.48 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 2.274e-06/0.4497, allocations: 0 / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.001023/0.4507, allocations: 311.3 kB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.4507, allocations: 59.41 kB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.4509, allocations: 139.7 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.451, allocations: 29.7 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.4511, allocations: 152.6 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.06e-05/0.4512, allocations: 75.36 kB / 1.368 GB, free: 8.898 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.4513, allocations: 33.72 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.4515, allocations: 330.8 kB / 1.368 GB, free: 8.527 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.4517, allocations: 79.94 kB / 1.368 GB, free: 8.449 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003018/0.4521, allocations: 107.5 kB / 1.368 GB, free: 8.34 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005739/0.4526, allocations: 187.5 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4526, allocations: 4 kB / 1.369 GB, free: 8.148 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006623/0.4533, allocations: 241.3 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4533, allocations: 8 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4533, allocations: 0 / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.4533, allocations: 0 / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.4536, allocations: 59.98 kB / 1.369 GB, free: 7.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.4536, allocations: 4 kB / 1.369 GB, free: 7.836 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.4538, allocations: 31.8 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.4538, allocations: 8 kB / 1.369 GB, free: 7.797 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 (21): * Single equations (assignments): 21 * 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 0.0001699/0.454, allocations: 137.8 kB / 1.369 GB, free: 7.652 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-05/0.454, allocations: 11.95 kB / 1.369 GB, free: 7.641 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.644e-05/0.4541, allocations: 17.12 kB / 1.369 GB, free: 7.621 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4541, allocations: 8 kB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4541, allocations: 0 / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4541, allocations: 7.922 kB / 1.369 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.4544, allocations: 209.1 kB / 1.369 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4544, allocations: 3.984 kB / 1.369 GB, free: 7.367 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.4547, allocations: 51.91 kB / 1.369 GB, free: 7.316 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4547, allocations: 3.938 kB / 1.369 GB, free: 7.312 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.4547, allocations: 4 kB / 1.369 GB, free: 7.309 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4547, allocations: 0 / 1.369 GB, free: 7.309 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.4547, allocations: 4 kB / 1.369 GB, free: 7.305 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007377/0.4554, allocations: 341.3 kB / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.4555, allocations: 11.91 kB / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.4555, allocations: 4 kB / 1.37 GB, free: 6.941 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.4556, allocations: 27.97 kB / 1.37 GB, free: 6.914 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/0.4557, allocations: 11.98 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.4557, allocations: 7.984 kB / 1.37 GB, free: 6.895 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001064/0.4558, allocations: 108 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4558, allocations: 3.938 kB / 1.37 GB, free: 6.785 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003025/0.4561, allocations: 51.78 kB / 1.37 GB, free: 6.734 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 (20): * Single equations (assignments): 20 * 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.000137/0.4563, allocations: 103.2 kB / 1.37 GB, free: 6.625 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006813/0.457, allocations: 199.8 kB / 1.37 GB, free: 6.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.457, allocations: 0 / 1.37 GB, free: 6.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.4573, allocations: 102.1 kB / 1.37 GB, free: 6.332 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.4577, allocations: 34.27 kB / 1.37 GB, free: 6.301 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009888/0.4587, allocations: 407.4 kB / 1.371 GB, free: 5.875 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.4589, allocations: 133.6 kB / 1.371 GB, free: 5.727 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.459, allocations: 21.41 kB / 1.371 GB, free: 5.707 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.459, allocations: 19.38 kB / 1.371 GB, free: 5.688 MB / 1.061 GB Notification: Performance of SimCode: time 8.11e-07/0.459, allocations: 0 / 1.371 GB, free: 5.688 MB / 1.061 GB Notification: Performance of Templates: time 0.006369/0.4654, allocations: 1.979 MB / 1.373 GB, free: 3.773 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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: 9.820217581931502]