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.PIDIntegralTime.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.002143/0.002143, allocations: 107.3 kB / 16.45 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.002801/0.002801, allocations: 213.7 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.606/1.606, allocations: 230.6 MB / 252.8 MB, free: 9.094 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.567/3.567, allocations: 0.5049 GB / 0.8065 GB, free: 23.09 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.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIDIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime") [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.002102/0.002102, allocations: 68.27 kB / 1.172 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4703/0.4724, allocations: 180.2 MB / 1.348 GB, free: 9.621 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.002644/0.475, allocations: 0.8491 MB / 1.349 GB, free: 8.77 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.4764, allocations: 0.8783 MB / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.635e-05/0.4765, allocations: 0 / 1.35 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.446e-05/0.4765, allocations: 11.86 kB / 1.35 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.4766, allocations: 15.81 kB / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.664e-05/0.4767, allocations: 31.95 kB / 1.35 GB, free: 7.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.4769, allocations: 115.8 kB / 1.35 GB, free: 7.707 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.4771, allocations: 45.36 kB / 1.35 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.4772, allocations: 39.86 kB / 1.35 GB, free: 7.617 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.015e-05/0.4773, allocations: 51.77 kB / 1.35 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.4773, allocations: 12 kB / 1.35 GB, free: 7.555 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.979e-05/0.4774, allocations: 12 kB / 1.35 GB, free: 7.543 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.152e-05/0.4774, allocations: 19.92 kB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.4775, allocations: 51.73 kB / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.4777, allocations: 139.4 kB / 1.35 GB, free: 7.336 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4777, allocations: 4 kB / 1.35 GB, free: 7.332 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.734e-06/0.4777, allocations: 0 / 1.35 GB, free: 7.332 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4778, allocations: 7.938 kB / 1.35 GB, free: 7.324 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0007576/0.4785, allocations: 419 kB / 1.351 GB, free: 6.863 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4786, allocations: 8.031 kB / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.81e-05/0.4786, allocations: 16.84 kB / 1.351 GB, free: 6.84 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.4789, allocations: 200.1 kB / 1.351 GB, free: 6.605 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.4789, allocations: 4.375 kB / 1.351 GB, free: 6.602 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.552e-05/0.4789, allocations: 16.38 kB / 1.351 GB, free: 6.586 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003701/0.4793, allocations: 119.6 kB / 1.351 GB, free: 6.465 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4793, allocations: 192 / 1.351 GB, free: 6.465 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.4793, allocations: 3.938 kB / 1.351 GB, free: 6.461 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.4793, allocations: 4 kB / 1.351 GB, free: 6.457 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.4797, allocations: 119.8 kB / 1.351 GB, free: 6.34 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.4804, allocations: 400.4 kB / 1.352 GB, free: 5.898 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004094/0.4808, allocations: 114.6 kB / 1.352 GB, free: 5.777 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.481, allocations: 60.81 kB / 1.352 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.481, allocations: 0 / 1.352 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.481, allocations: 34.75 kB / 1.352 GB, free: 5.672 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.481, allocations: 3.938 kB / 1.352 GB, free: 5.668 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0006689/0.4817, allocations: 177.5 kB / 1.352 GB, free: 5.488 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.4817, allocations: 59.34 kB / 1.352 GB, free: 5.418 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.4819, allocations: 121.8 kB / 1.352 GB, free: 5.289 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.4819, allocations: 25.7 kB / 1.352 GB, free: 5.258 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.207e-05/0.482, allocations: 108 kB / 1.352 GB, free: 5.148 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.4821, allocations: 27.75 kB / 1.352 GB, free: 5.121 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.346e-05/0.4821, allocations: 21.72 kB / 1.352 GB, free: 5.094 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.4823, allocations: 322.8 kB / 1.353 GB, free: 4.77 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.4825, allocations: 43.95 kB / 1.353 GB, free: 4.727 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.4826, allocations: 47.95 kB / 1.353 GB, free: 4.68 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.483, allocations: 109.2 kB / 1.353 GB, free: 4.57 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.483, allocations: 0 / 1.353 GB, free: 4.57 MB / 1.045 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004082/0.4834, allocations: 137.5 kB / 1.353 GB, free: 4.43 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.4834, allocations: 4 kB / 1.353 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.4834, allocations: 0 / 1.353 GB, free: 4.426 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.4834, allocations: 3.938 kB / 1.353 GB, free: 4.422 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.4836, allocations: 35.91 kB / 1.353 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.4836, allocations: 0 / 1.353 GB, free: 4.387 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.481e-05/0.4837, allocations: 11.98 kB / 1.353 GB, free: 4.375 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.4837, allocations: 0 / 1.353 GB, free: 4.375 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.0001198/0.4838, allocations: 121.8 kB / 1.353 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.4838, allocations: 3.953 kB / 1.353 GB, free: 4.242 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.4839, allocations: 16.38 kB / 1.353 GB, free: 4.227 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4839, allocations: 3.938 kB / 1.353 GB, free: 4.223 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4839, allocations: 4 kB / 1.353 GB, free: 4.219 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4839, allocations: 3.984 kB / 1.353 GB, free: 4.215 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.4842, allocations: 205.6 kB / 1.353 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.4842, allocations: 0 / 1.353 GB, free: 3.965 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.4843, allocations: 31.91 kB / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.4843, allocations: 0 / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.4844, allocations: 0 / 1.353 GB, free: 3.934 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.4844, allocations: 3.938 kB / 1.353 GB, free: 3.93 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4844, allocations: 4 kB / 1.353 GB, free: 3.926 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000483/0.4848, allocations: 235.4 kB / 1.354 GB, free: 3.68 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.4849, allocations: 85 kB / 1.354 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.4849, allocations: 4 kB / 1.354 GB, free: 3.574 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.485, allocations: 16.11 kB / 1.354 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/0.4851, allocations: 11.98 kB / 1.354 GB, free: 3.547 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.4851, allocations: 7.938 kB / 1.354 GB, free: 3.539 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.56e-05/0.4852, allocations: 95.27 kB / 1.354 GB, free: 3.445 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4852, allocations: 0 / 1.354 GB, free: 3.445 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002267/0.4854, allocations: 15.95 kB / 1.354 GB, free: 3.43 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 (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 Backend phase and start with SimCode phase: time 0.0001598/0.4856, allocations: 99.25 kB / 1.354 GB, free: 3.324 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004349/0.486, allocations: 111.8 kB / 1.354 GB, free: 3.215 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.486, allocations: 0 / 1.354 GB, free: 3.215 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000185/0.4862, allocations: 59.83 kB / 1.354 GB, free: 3.156 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.4866, allocations: 14.34 kB / 1.354 GB, free: 3.145 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005862/0.4872, allocations: 217.8 kB / 1.354 GB, free: 2.906 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.4876, allocations: 0.7001 MB / 1.355 GB, free: 2.18 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 5.354e-05/0.4877, allocations: 8 kB / 1.355 GB, free: 2.172 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.4877, allocations: 11.44 kB / 1.355 GB, free: 2.16 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.4877, allocations: 0 / 1.355 GB, free: 2.16 MB / 1.045 GB Notification: Performance of Templates: time 0.004686/0.4924, allocations: 1.026 MB / 1.356 GB, free: 1.188 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIDIntegralTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.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.86933028139174]