Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002058/0.002058, allocations: 105.1 kB / 18.99 MB, free: 2.766 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.002942/0.002942, allocations: 219.9 kB / 22.29 MB, free: 5.145 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.594/1.594, allocations: 230.6 MB / 256.1 MB, free: 7.773 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.529/3.529, allocations: 0.5096 GB / 0.8148 GB, free: 18.36 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.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIDGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain") [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.002207/0.002207, allocations: 66.81 kB / 1.184 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4625/0.4647, allocations: 181.4 MB / 1.362 GB, free: 15.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002407/0.4671, allocations: 0.8208 MB / 1.362 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.4683, allocations: 0.8665 MB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.4684, allocations: 7.938 kB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.031e-05/0.4684, allocations: 15.8 kB / 1.363 GB, free: 13.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.348e-05/0.4685, allocations: 11.88 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.626e-05/0.4686, allocations: 35.95 kB / 1.363 GB, free: 13.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.4688, allocations: 119.7 kB / 1.363 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.4689, allocations: 29.3 kB / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.469, allocations: 55.77 kB / 1.363 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.195e-05/0.4691, allocations: 47.77 kB / 1.363 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.4691, allocations: 12 kB / 1.363 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.728e-05/0.4692, allocations: 8 kB / 1.363 GB, free: 13.53 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.4692, allocations: 23.92 kB / 1.364 GB, free: 13.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.4692, allocations: 43.8 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.4694, allocations: 139.4 kB / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.4694, allocations: 4 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4694, allocations: 0 / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.4694, allocations: 3.938 kB / 1.364 GB, free: 13.32 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.0007252/0.4702, allocations: 355.7 kB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.4702, allocations: 8.031 kB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/0.4703, allocations: 16.89 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.4705, allocations: 146.4 kB / 1.364 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.4705, allocations: 4.562 kB / 1.364 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.4705, allocations: 12.38 kB / 1.364 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.4709, allocations: 127 kB / 1.364 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.4709, allocations: 7.984 kB / 1.364 GB, free: 12.6 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.471, allocations: 4 kB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.471, allocations: 7.984 kB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004545/0.4714, allocations: 127.8 kB / 1.364 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.472, allocations: 316.3 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.4724, allocations: 102.6 kB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.4726, allocations: 64.8 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.4727, allocations: 4 kB / 1.365 GB, free: 11.94 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.4727, allocations: 30.56 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.4727, allocations: 3.938 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0007567/0.4734, allocations: 209.4 kB / 1.365 GB, free: 11.69 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.4735, allocations: 51.41 kB / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.4736, allocations: 126.1 kB / 1.365 GB, free: 11.49 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.4736, allocations: 25.7 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.736e-05/0.4737, allocations: 120 kB / 1.365 GB, free: 11.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.4738, allocations: 27.88 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.4738, allocations: 25.72 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.474, allocations: 326.8 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.4742, allocations: 47.95 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002255/0.4744, allocations: 73.59 kB / 1.366 GB, free: 10.82 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.4748, allocations: 125.9 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4748, allocations: 0 / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000469/0.4753, allocations: 161.5 kB / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4753, allocations: 4 kB / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4753, allocations: 0 / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.4754, allocations: 0 / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.4755, allocations: 35.95 kB / 1.366 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.4755, allocations: 0 / 1.366 GB, free: 10.49 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.4757, allocations: 23.95 kB / 1.366 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.4757, allocations: 7.938 kB / 1.366 GB, free: 10.46 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 0.0001033/0.4758, allocations: 122.5 kB / 1.366 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.4758, allocations: 7.891 kB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.345e-05/0.4758, allocations: 16.72 kB / 1.366 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4759, allocations: 0 / 1.366 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4759, allocations: 0 / 1.366 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.4759, allocations: 0 / 1.366 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.4761, allocations: 145.2 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4761, allocations: 4 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.4762, allocations: 27.97 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4762, allocations: 3.984 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.4762, allocations: 4 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4762, allocations: 4 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4762, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005221/0.4768, allocations: 251.3 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.4768, allocations: 11.89 kB / 1.367 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.4768, allocations: 12.12 kB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.477, allocations: 19.97 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.477, allocations: 11.92 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.477, allocations: 0 / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.468e-05/0.4771, allocations: 101.7 kB / 1.367 GB, free: 9.68 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4771, allocations: 4 kB / 1.367 GB, free: 9.676 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002375/0.4773, allocations: 20 kB / 1.367 GB, free: 9.656 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.000134/0.4775, allocations: 107.2 kB / 1.367 GB, free: 9.543 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004838/0.4779, allocations: 119.8 kB / 1.367 GB, free: 9.426 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4779, allocations: 64 / 1.367 GB, free: 9.426 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.4782, allocations: 63.94 kB / 1.367 GB, free: 9.363 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.4786, allocations: 17.86 kB / 1.367 GB, free: 9.348 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.4791, allocations: 215.3 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.231e-05/0.4792, allocations: 84.2 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.465e-05/0.4792, allocations: 7.984 kB / 1.368 GB, free: 9 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.4793, allocations: 15.44 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/0.4793, allocations: 3.938 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of Templates: time 0.004471/0.4837, allocations: 1.391 MB / 1.369 GB, free: 7.66 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.01411290699616]