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.0009428/0.0009428, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001021/0.001021, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9894/0.9894, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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 2.333/2.333, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.36e-05, allocations: 4.844 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime): time 0.001555/0.001578, allocations: 0.8257 MB / 0.8394 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0009097/0.002488, allocations: 0.8975 MB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.002535, allocations: 0 / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.002568, allocations: 11.86 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.819e-05/0.002657, allocations: 19.81 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.832e-05/0.002725, allocations: 35.94 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.002829, allocations: 111.7 kB / 0.8405 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.00294, allocations: 46.19 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.003041, allocations: 63.89 kB / 0.8406 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.732e-05/0.003098, allocations: 43.88 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.003119, allocations: 8 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.056e-05/0.00313, allocations: 12 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.003152, allocations: 23.92 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.00318, allocations: 31.91 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001023/0.003282, allocations: 79.61 kB / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003284, allocations: 0 / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.32e-07/0.003285, allocations: 0 / 0.8408 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.003289, allocations: 0 / 0.8408 GB, free: 11.95 MB / 0.8073 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.0003245/0.003613, allocations: 300.6 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.003645, allocations: 12.62 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.554e-05/0.003671, allocations: 12.94 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.00379, allocations: 137.5 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.0038, allocations: 8.375 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.003813, allocations: 8.375 kB / 0.8412 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.003947, allocations: 102 kB / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.003954, allocations: 192 / 0.8413 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.003963, allocations: 4.359 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.003968, allocations: 4.375 kB / 0.8413 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.004008, allocations: 19.94 kB / 0.8413 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.004297, allocations: 255.9 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.004459, allocations: 74.47 kB / 0.8417 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.076e-05/0.00449, allocations: 24.84 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-06/0.004499, allocations: 0 / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.004519, allocations: 30.56 kB / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 9.72e-07/0.00452, allocations: 0 / 0.8417 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001286/0.004649, allocations: 77.73 kB / 0.8418 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.004679, allocations: 51.41 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.49e-05/0.004734, allocations: 118.7 kB / 0.8419 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.004746, allocations: 29.7 kB / 0.842 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.944e-05/0.004786, allocations: 104 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.004814, allocations: 35.69 kB / 0.8421 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.004845, allocations: 17.7 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.178e-05/0.004927, allocations: 322.8 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.004948, allocations: 7.984 kB / 0.8424 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.886e-05/0.004967, allocations: 15.94 kB / 0.8425 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.917e-05/0.005006, allocations: 25.41 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.005009, allocations: 0 / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9) (initialization): time 7.328e-05/0.005082, allocations: 65.55 kB / 0.8425 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.005095, allocations: 8 kB / 0.8426 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.005099, allocations: 0 / 0.8426 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.005112, allocations: 4 kB / 0.8426 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.005179, allocations: 19.98 kB / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.005182, allocations: 0 / 0.8426 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.005206, allocations: 4 kB / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.005212, allocations: 8 kB / 0.8426 GB, free: 9.926 MB / 0.8073 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 5.825e-05/0.00527, allocations: 113.8 kB / 0.8427 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.005285, allocations: 4 kB / 0.8427 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.21e-05/0.005307, allocations: 20.44 kB / 0.8427 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.005309, allocations: 3.938 kB / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.005311, allocations: 0 / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.005313, allocations: 0 / 0.8427 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.005423, allocations: 101.8 kB / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.005424, allocations: 0 / 0.8428 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.584e-05/0.00547, allocations: 19.98 kB / 0.8428 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.005471, allocations: 0 / 0.8428 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.005476, allocations: 0 / 0.8428 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.005477, allocations: 0 / 0.8428 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005478, allocations: 7.938 kB / 0.8428 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.965e-05/0.005577, allocations: 163.4 kB / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.005588, allocations: 11.89 kB / 0.843 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-06/0.005596, allocations: 0 / 0.843 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.776e-05/0.005634, allocations: 11.98 kB / 0.843 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.465e-05/0.005669, allocations: 11.98 kB / 0.843 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.005672, allocations: 0 / 0.843 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.648e-05/0.005688, allocations: 17.28 kB / 0.8431 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005688, allocations: 0 / 0.8431 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001315/0.00582, allocations: 19.95 kB / 0.8431 GB, free: 9.387 MB / 0.8073 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.0001039/0.005924, allocations: 88.41 kB / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.12e-05/0.006005, allocations: 40.78 kB / 0.8432 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.006008, allocations: 0 / 0.8432 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-05/0.006036, allocations: 24.8 kB / 0.8432 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.006197, allocations: 20.25 kB / 0.8432 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.006539, allocations: 212.1 kB / 0.8434 GB, free: 8.969 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.541e-05/0.006574, allocations: 63.34 kB / 0.8435 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.006605, allocations: 0 / 0.8435 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.321e-05/0.006668, allocations: 71.36 kB / 0.8436 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of SimCode: time 4.01e-07/0.006668, allocations: 0 / 0.8436 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of Templates: time 0.002873/0.009541, allocations: 1.05 MB / 0.8446 GB, free: 7.832 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIDIntegralTime.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.318853748030961]