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.PIGain.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.001766/0.001766, allocations: 103.5 kB / 16.45 MB, free: 6.449 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.002495/0.002495, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.613/1.613, allocations: 230.5 MB / 252.8 MB, free: 9.121 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.64/3.64, allocations: 0.5049 GB / 0.8065 GB, free: 23.05 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.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PIGai.k",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain") [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.002101/0.002101, allocations: 71.55 kB / 1.172 GB, free: 17.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4701/0.4722, allocations: 180.2 MB / 1.348 GB, free: 9.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain): time 0.002649/0.4749, allocations: 1.006 MB / 1.349 GB, free: 8.434 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.4761, allocations: 0.9016 MB / 1.35 GB, free: 7.52 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.626e-05/0.4762, allocations: 4 kB / 1.35 GB, free: 7.516 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.138e-05/0.4763, allocations: 19.8 kB / 1.35 GB, free: 7.496 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.4764, allocations: 19.78 kB / 1.35 GB, free: 7.477 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.4765, allocations: 55.94 kB / 1.35 GB, free: 7.422 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.4767, allocations: 168.2 kB / 1.35 GB, free: 7.254 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.4769, allocations: 76.41 kB / 1.35 GB, free: 7.184 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.4771, allocations: 67.78 kB / 1.35 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.4772, allocations: 71.67 kB / 1.351 GB, free: 7.047 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.4772, allocations: 20 kB / 1.351 GB, free: 7.027 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.202e-05/0.4772, allocations: 16 kB / 1.351 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.4773, allocations: 47.84 kB / 1.351 GB, free: 6.965 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.4773, allocations: 71.61 kB / 1.351 GB, free: 6.895 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000289/0.4776, allocations: 227 kB / 1.351 GB, free: 6.672 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.4776, allocations: 4 kB / 1.351 GB, free: 6.668 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4776, allocations: 0 / 1.351 GB, free: 6.668 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.595e-06/0.4777, allocations: 0 / 1.351 GB, free: 6.668 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008935/0.4785, allocations: 475.1 kB / 1.351 GB, free: 6.148 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4786, allocations: 12.02 kB / 1.351 GB, free: 6.137 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.4786, allocations: 20.8 kB / 1.351 GB, free: 6.117 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.4789, allocations: 216.4 kB / 1.352 GB, free: 5.867 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.4789, allocations: 12.7 kB / 1.352 GB, free: 5.855 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.479, allocations: 16.38 kB / 1.352 GB, free: 5.84 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.4795, allocations: 180.8 kB / 1.352 GB, free: 5.66 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4795, allocations: 8.125 kB / 1.352 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.4795, allocations: 11.88 kB / 1.352 GB, free: 5.641 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.4795, allocations: 4 kB / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006185/0.4801, allocations: 172.1 kB / 1.352 GB, free: 5.469 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008395/0.481, allocations: 0.5118 MB / 1.353 GB, free: 4.906 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/0.4814, allocations: 130.5 kB / 1.353 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003033/0.4817, allocations: 96.72 kB / 1.353 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.4817, allocations: 0 / 1.353 GB, free: 4.672 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.4817, allocations: 34.56 kB / 1.353 GB, free: 4.629 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 9.32e-07/0.4817, allocations: 0 / 1.353 GB, free: 4.629 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.000942/0.4827, allocations: 249.7 kB / 1.353 GB, free: 4.379 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.4827, allocations: 55.41 kB / 1.353 GB, free: 4.312 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.4828, allocations: 132.4 kB / 1.353 GB, free: 4.172 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.4829, allocations: 25.7 kB / 1.353 GB, free: 4.141 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.483, allocations: 136.2 kB / 1.353 GB, free: 4.004 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.176e-05/0.483, allocations: 43.64 kB / 1.353 GB, free: 3.961 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.4831, allocations: 29.72 kB / 1.353 GB, free: 3.926 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.4832, allocations: 322.8 kB / 1.354 GB, free: 3.602 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.4835, allocations: 67.88 kB / 1.354 GB, free: 3.535 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.4837, allocations: 90.52 kB / 1.354 GB, free: 3.438 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004985/0.4842, allocations: 172.6 kB / 1.354 GB, free: 3.262 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4842, allocations: 0 / 1.354 GB, free: 3.262 MB / 1.045 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005654/0.4848, allocations: 189.5 kB / 1.354 GB, free: 3.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.4848, allocations: 8 kB / 1.354 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.4848, allocations: 0 / 1.354 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.4849, allocations: 4.062 kB / 1.354 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.4851, allocations: 43.91 kB / 1.354 GB, free: 3.016 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.4851, allocations: 7.984 kB / 1.354 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.4852, allocations: 23.88 kB / 1.354 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.4853, allocations: 4 kB / 1.354 GB, free: 2.98 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (15): * Single equations (assignments): 15 * 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.0001229/0.4854, allocations: 133.7 kB / 1.354 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.4854, allocations: 11.95 kB / 1.354 GB, free: 2.828 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.4855, allocations: 16.84 kB / 1.354 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4855, allocations: 0 / 1.354 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4855, allocations: 0 / 1.354 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4855, allocations: 0 / 1.354 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003148/0.4858, allocations: 253.4 kB / 1.355 GB, free: 2.508 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4858, allocations: 3.938 kB / 1.355 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.486, allocations: 35.97 kB / 1.355 GB, free: 2.469 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.486, allocations: 0 / 1.355 GB, free: 2.469 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.486, allocations: 4 kB / 1.355 GB, free: 2.465 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.486, allocations: 7.984 kB / 1.355 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.486, allocations: 7.938 kB / 1.355 GB, free: 2.449 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006204/0.4866, allocations: 285.3 kB / 1.355 GB, free: 2.156 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.923e-05/0.4867, allocations: 89.06 kB / 1.355 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.4867, allocations: 4 kB / 1.355 GB, free: 2.047 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.4869, allocations: 15.97 kB / 1.355 GB, free: 2.031 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.4869, allocations: 15.98 kB / 1.355 GB, free: 2.016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.4869, allocations: 0 / 1.355 GB, free: 2.016 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.855e-05/0.487, allocations: 101.7 kB / 1.355 GB, free: 1.918 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.487, allocations: 0 / 1.355 GB, free: 1.918 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002554/0.4873, allocations: 35.89 kB / 1.355 GB, free: 1.883 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 (13): * Single equations (assignments): 13 * 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.0001738/0.4874, allocations: 107.2 kB / 1.355 GB, free: 1.77 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006086/0.488, allocations: 159.8 kB / 1.356 GB, free: 1.613 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.488, allocations: 0 / 1.356 GB, free: 1.613 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.4883, allocations: 80 kB / 1.356 GB, free: 1.535 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.4887, allocations: 29.14 kB / 1.356 GB, free: 1.508 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/0.4894, allocations: 289 kB / 1.356 GB, free: 1.203 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.4898, allocations: 0.7157 MB / 1.357 GB, free: 472 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 7.158e-05/0.4899, allocations: 16.41 kB / 1.357 GB, free: 456 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.327e-05/0.49, allocations: 15.44 kB / 1.357 GB, free: 440 kB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.49, allocations: 0 / 1.357 GB, free: 440 kB / 1.045 GB Notification: Performance of Templates: time 0.004835/0.4948, allocations: 1.406 MB / 1.358 GB, free: 15.07 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIGain.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.977533714845777]