Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.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.0009419/0.0009419, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.0009902/0.0009902, allocations: 173 kB / 23.36 MB, free: 0.9727 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 1.031/1.031, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.375/2.375, allocations: 438.8 MB / 0.6827 GB, free: 13.63 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.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PID.k|PID.Ti|PID.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.653e-05/1.82e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID): time 0.001633/0.001651, allocations: 1.165 MB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.002653, allocations: 1.034 MB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.731e-05/0.00273, allocations: 4 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.806e-05/0.002778, allocations: 31.66 kB / 0.8408 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.002885, allocations: 35.59 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001047/0.00299, allocations: 95.92 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.003194, allocations: 315.3 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.003376, allocations: 141.9 kB / 0.8413 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.003549, allocations: 179.7 kB / 0.8415 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.793e-05/0.003627, allocations: 83.7 kB / 0.8416 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.305e-05/0.00366, allocations: 36 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.206e-05/0.003682, allocations: 32 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.843e-05/0.00372, allocations: 67.81 kB / 0.8417 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.003772, allocations: 83.77 kB / 0.8418 GB, free: 10.94 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.003938, allocations: 199.2 kB / 0.842 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.00394, allocations: 0 / 0.842 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.21e-07/0.003941, allocations: 0 / 0.842 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.003944, allocations: 0 / 0.842 GB, free: 10.75 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0004194/0.004364, allocations: 448.4 kB / 0.8424 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.00442, allocations: 8.625 kB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.004465, allocations: 40.91 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.00462, allocations: 167.3 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.004635, allocations: 21.03 kB / 0.8426 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.004657, allocations: 24.38 kB / 0.8427 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.004858, allocations: 187.3 kB / 0.8428 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.004867, allocations: 192 / 0.8428 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.004881, allocations: 8.375 kB / 0.8428 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.004889, allocations: 8.375 kB / 0.8428 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.547e-05/0.004965, allocations: 64.5 kB / 0.8429 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.005484, allocations: 476.4 kB / 0.8434 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.00566, allocations: 110.5 kB / 0.8435 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.344e-05/0.005703, allocations: 45.17 kB / 0.8435 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.005714, allocations: 8 kB / 0.8435 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.005735, allocations: 38.52 kB / 0.8436 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.005737, allocations: 3.984 kB / 0.8436 GB, free: 9.031 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0001592/0.005896, allocations: 115.4 kB / 0.8437 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.005926, allocations: 55.41 kB / 0.8437 GB, free: 8.848 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.005994, allocations: 143.8 kB / 0.8439 GB, free: 8.695 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.006005, allocations: 25.7 kB / 0.8439 GB, free: 8.664 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.00606, allocations: 148.6 kB / 0.844 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.006093, allocations: 71.36 kB / 0.8441 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.006133, allocations: 37.69 kB / 0.8441 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.354e-05/0.006206, allocations: 326.8 kB / 0.8444 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.277e-05/0.006229, allocations: 16 kB / 0.8445 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.926e-05/0.006268, allocations: 43.75 kB / 0.8445 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.552e-05/0.006344, allocations: 75.08 kB / 0.8446 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.006347, allocations: 4 kB / 0.8446 GB, free: 7.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000102/0.006449, allocations: 89.61 kB / 0.8447 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.006459, allocations: 8 kB / 0.8447 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.006463, allocations: 0 / 0.8447 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.006474, allocations: 3.938 kB / 0.8447 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.006582, allocations: 52 kB / 0.8447 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-06/0.006584, allocations: 0 / 0.8447 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.006626, allocations: 23.88 kB / 0.8447 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.006632, allocations: 4 kB / 0.8447 GB, free: 7.746 MB / 0.8073 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 (21): * Single equations (assignments): 21 * 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 6.409e-05/0.006696, allocations: 121.7 kB / 0.8449 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.006717, allocations: 15.98 kB / 0.8449 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.006741, allocations: 21.12 kB / 0.8449 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.006743, allocations: 0 / 0.8449 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.006744, allocations: 0 / 0.8449 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.006748, allocations: 7.984 kB / 0.8449 GB, free: 7.574 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.006881, allocations: 149.7 kB / 0.845 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.006882, allocations: 0 / 0.845 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.508e-05/0.006967, allocations: 43.91 kB / 0.8451 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.006968, allocations: 3.938 kB / 0.8451 GB, free: 7.363 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.006974, allocations: 8 kB / 0.8451 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.006975, allocations: 0 / 0.8451 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.006976, allocations: 0 / 0.8451 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.007092, allocations: 194 kB / 0.8453 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.007104, allocations: 15.88 kB / 0.8453 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.007114, allocations: 8 kB / 0.8453 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.895e-05/0.007163, allocations: 8 kB / 0.8453 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.0072, allocations: 19.97 kB / 0.8453 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-06/0.007204, allocations: 0 / 0.8453 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.377e-05/0.007228, allocations: 38.69 kB / 0.8454 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007228, allocations: 0 / 0.8454 GB, free: 7.062 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001449/0.007373, allocations: 51.78 kB / 0.8454 GB, free: 7.012 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 (20): * Single equations (assignments): 20 * 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 7.097e-05/0.007443, allocations: 84.36 kB / 0.8455 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.007551, allocations: 84.66 kB / 0.8456 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.007554, allocations: 0 / 0.8456 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.625e-05/0.0076, allocations: 54.14 kB / 0.8456 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001641/0.007764, allocations: 35.91 kB / 0.8457 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.008255, allocations: 392.8 kB / 0.846 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.478e-05/0.0083, allocations: 79.83 kB / 0.8461 GB, free: 6.234 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.234e-05/0.008352, allocations: 17.48 kB / 0.8461 GB, free: 6.219 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.817e-05/0.008431, allocations: 75.36 kB / 0.8462 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of SimCode: time 5.81e-07/0.008431, allocations: 0 / 0.8462 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of Templates: time 0.003434/0.01187, allocations: 1.725 MB / 0.8479 GB, free: 4.488 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PID.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.325980037916452]