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.001858/0.001858, allocations: 108.9 kB / 16.46 MB, free: 6.508 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.002449/0.002449, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.659/1.659, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.504/3.504, allocations: 0.5049 GB / 0.8065 GB, free: 23.11 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.002474/0.002474, allocations: 74.89 kB / 1.172 GB, free: 17.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4565, allocations: 180.2 MB / 1.348 GB, free: 9.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDGain): time 0.002664/0.4591, allocations: 0.8663 MB / 1.349 GB, free: 8.59 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001432/0.4606, allocations: 0.8743 MB / 1.35 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.919e-05/0.4607, allocations: 4 kB / 1.35 GB, free: 7.699 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.493e-05/0.4607, allocations: 7.875 kB / 1.35 GB, free: 7.691 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.4609, allocations: 23.78 kB / 1.35 GB, free: 7.668 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.973e-05/0.461, allocations: 31.97 kB / 1.35 GB, free: 7.637 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.4611, allocations: 115.7 kB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.4613, allocations: 41.09 kB / 1.35 GB, free: 7.48 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.4614, allocations: 39.86 kB / 1.35 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.75e-05/0.4615, allocations: 55.73 kB / 1.35 GB, free: 7.387 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.4616, allocations: 12 kB / 1.35 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.681e-05/0.4616, allocations: 16 kB / 1.35 GB, free: 7.359 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.895e-05/0.4616, allocations: 27.86 kB / 1.35 GB, free: 7.332 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.407e-05/0.4617, allocations: 51.67 kB / 1.35 GB, free: 7.281 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.4619, allocations: 139.4 kB / 1.35 GB, free: 7.145 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4619, allocations: 0 / 1.35 GB, free: 7.145 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.052e-06/0.4619, allocations: 0 / 1.35 GB, free: 7.145 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.4619, allocations: 0 / 1.35 GB, free: 7.145 MB / 1.045 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.000774/0.4627, allocations: 436.7 kB / 1.351 GB, free: 6.668 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.4627, allocations: 8.031 kB / 1.351 GB, free: 6.66 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.859e-05/0.4628, allocations: 12.89 kB / 1.351 GB, free: 6.648 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.463, allocations: 200.3 kB / 1.351 GB, free: 6.414 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.4631, allocations: 12.5 kB / 1.351 GB, free: 6.402 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.4631, allocations: 12.38 kB / 1.351 GB, free: 6.391 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.4635, allocations: 125.7 kB / 1.351 GB, free: 6.262 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.4635, allocations: 4 kB / 1.351 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.4635, allocations: 7.984 kB / 1.351 GB, free: 6.25 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.4635, allocations: 4 kB / 1.351 GB, free: 6.246 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.464, allocations: 126.6 kB / 1.351 GB, free: 6.125 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007045/0.4648, allocations: 404.7 kB / 1.352 GB, free: 5.68 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004104/0.4652, allocations: 106.6 kB / 1.352 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002597/0.4654, allocations: 68.8 kB / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.4654, allocations: 0 / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.4655, allocations: 34.56 kB / 1.352 GB, free: 5.453 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.4655, allocations: 0 / 1.352 GB, free: 5.453 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0008912/0.4664, allocations: 201.5 kB / 1.352 GB, free: 5.25 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.4664, allocations: 51.41 kB / 1.352 GB, free: 5.188 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.4666, allocations: 144.2 kB / 1.352 GB, free: 5.035 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.4666, allocations: 25.7 kB / 1.352 GB, free: 5.004 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.4667, allocations: 116 kB / 1.352 GB, free: 4.887 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.4667, allocations: 23.8 kB / 1.353 GB, free: 4.863 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.4668, allocations: 21.72 kB / 1.353 GB, free: 4.836 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4669, allocations: 318.8 kB / 1.353 GB, free: 4.516 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.4672, allocations: 55.94 kB / 1.353 GB, free: 4.461 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.4674, allocations: 69.66 kB / 1.353 GB, free: 4.387 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.4679, allocations: 121.8 kB / 1.353 GB, free: 4.262 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4679, allocations: 4 kB / 1.353 GB, free: 4.258 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005345/0.4684, allocations: 153.5 kB / 1.353 GB, free: 4.102 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.4684, allocations: 10.38 kB / 1.353 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.4684, allocations: 3.984 kB / 1.353 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4685, allocations: 3.938 kB / 1.353 GB, free: 4.086 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.4686, allocations: 39.94 kB / 1.353 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.4687, allocations: 4 kB / 1.353 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.4688, allocations: 23.84 kB / 1.353 GB, free: 4.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.4688, allocations: 4 kB / 1.353 GB, free: 4.016 MB / 1.045 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.0001184/0.4689, allocations: 117.8 kB / 1.353 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.469, allocations: 7.953 kB / 1.353 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.469, allocations: 16.72 kB / 1.353 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.469, allocations: 0 / 1.353 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.469, allocations: 0 / 1.353 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.469, allocations: 3.938 kB / 1.353 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.4693, allocations: 205.6 kB / 1.354 GB, free: 3.609 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4693, allocations: 4 kB / 1.354 GB, free: 3.605 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.4694, allocations: 27.97 kB / 1.354 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.4694, allocations: 3.938 kB / 1.354 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4694, allocations: 0 / 1.354 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4694, allocations: 0 / 1.354 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.4694, allocations: 7.984 kB / 1.354 GB, free: 3.566 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.47, allocations: 259.6 kB / 1.354 GB, free: 3.297 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.4701, allocations: 85.05 kB / 1.354 GB, free: 3.195 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4701, allocations: 8 kB / 1.354 GB, free: 3.188 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.4702, allocations: 11.98 kB / 1.354 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/0.4703, allocations: 15.92 kB / 1.354 GB, free: 3.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.4703, allocations: 4 kB / 1.354 GB, free: 3.156 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.869e-05/0.4704, allocations: 109.7 kB / 1.354 GB, free: 3.051 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.4704, allocations: 0 / 1.354 GB, free: 3.051 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002437/0.4707, allocations: 12 kB / 1.354 GB, free: 3.039 MB / 1.045 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.0001692/0.4708, allocations: 107.2 kB / 1.354 GB, free: 2.926 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000556/0.4714, allocations: 119.8 kB / 1.354 GB, free: 2.809 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4714, allocations: 0 / 1.354 GB, free: 2.809 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002516/0.4716, allocations: 63.95 kB / 1.354 GB, free: 2.746 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.472, allocations: 23.98 kB / 1.354 GB, free: 2.723 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/0.4726, allocations: 206 kB / 1.355 GB, free: 2.492 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005018/0.4731, allocations: 0.7041 MB / 1.355 GB, free: 1.762 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.911e-05/0.4732, allocations: 4 kB / 1.355 GB, free: 1.758 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.244e-05/0.4732, allocations: 15.44 kB / 1.355 GB, free: 1.742 MB / 1.045 GB Notification: Performance of SimCode: time 3.61e-07/0.4732, allocations: 4 kB / 1.355 GB, free: 1.738 MB / 1.045 GB Notification: Performance of Templates: time 0.004635/0.4779, allocations: 1.217 MB / 1.357 GB, free: 0.5703 MB / 1.045 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.060525591019541]