Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.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.0009361/0.0009361, allocations: 80.75 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.001045/0.001045, allocations: 181 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.9839/0.9839, 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.426/2.426, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kp.y|T.y|L.y|PI.k|PI.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.266e-05, allocations: 9.203 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002158/0.002181, allocations: 1.242 MB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.003256, allocations: 1.061 MB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.323e-05/0.003349, allocations: 4 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.891e-05/0.003408, allocations: 27.61 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.003537, allocations: 39.61 kB / 0.8409 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001442/0.003682, allocations: 119.9 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.003941, allocations: 352.3 kB / 0.8414 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.004202, allocations: 174.4 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001827/0.004385, allocations: 199.7 kB / 0.8417 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.746e-05/0.004472, allocations: 91.67 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.004513, allocations: 44 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.773e-05/0.004541, allocations: 44 kB / 0.8419 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.004591, allocations: 83.73 kB / 0.842 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.004651, allocations: 95.81 kB / 0.8421 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.004854, allocations: 247 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004856, allocations: 0 / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004857, allocations: 0 / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.004862, allocations: 0 / 0.8423 GB, free: 10.38 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.000465/0.005327, allocations: 472.3 kB / 0.8427 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.005363, allocations: 8.625 kB / 0.8428 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/0.005414, allocations: 48.91 kB / 0.8428 GB, free: 9.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.005579, allocations: 175.7 kB / 0.843 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.005596, allocations: 24.97 kB / 0.843 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.005622, allocations: 28.38 kB / 0.843 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.005859, allocations: 219.2 kB / 0.8432 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.005868, allocations: 192 / 0.8432 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.005884, allocations: 12.38 kB / 0.8432 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.005893, allocations: 12.38 kB / 0.8433 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.09e-05/0.005984, allocations: 76.5 kB / 0.8433 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006102/0.006594, allocations: 0.5475 MB / 0.8439 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.006826, allocations: 150.5 kB / 0.844 GB, free: 8.555 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.006882, allocations: 52.83 kB / 0.8441 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.006894, allocations: 4 kB / 0.8441 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.006916, allocations: 38.5 kB / 0.8441 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 1.383e-06/0.006917, allocations: 4 kB / 0.8441 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.0001874/0.007104, allocations: 137.5 kB / 0.8442 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.007141, allocations: 55.41 kB / 0.8443 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.007214, allocations: 141 kB / 0.8444 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.007227, allocations: 29.7 kB / 0.8444 GB, free: 8.059 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.007287, allocations: 164.5 kB / 0.8446 GB, free: 7.895 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.007324, allocations: 87.27 kB / 0.8447 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.642e-05/0.007371, allocations: 41.92 kB / 0.8447 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.38e-05/0.007445, allocations: 326.8 kB / 0.845 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.562e-05/0.00748, allocations: 20.45 kB / 0.8451 GB, free: 7.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.789e-05/0.007528, allocations: 59.41 kB / 0.8451 GB, free: 7.344 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.434e-05/0.007613, allocations: 96.62 kB / 0.8452 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.007615, allocations: 0 / 0.8452 GB, free: 7.242 MB / 0.8073 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001185/0.007733, allocations: 117.5 kB / 0.8453 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.007745, allocations: 4 kB / 0.8453 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.007749, allocations: 0 / 0.8453 GB, free: 7.117 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.007764, allocations: 4 kB / 0.8453 GB, free: 7.113 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.007899, allocations: 63.91 kB / 0.8454 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.624e-06/0.007901, allocations: 0 / 0.8454 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.007946, allocations: 19.89 kB / 0.8454 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.007953, allocations: 4 kB / 0.8454 GB, free: 7.027 MB / 0.8073 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 (27): * Single equations (assignments): 27 * 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 7.457e-05/0.008027, allocations: 133.6 kB / 0.8455 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.008051, allocations: 19.98 kB / 0.8456 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/0.008079, allocations: 21.28 kB / 0.8456 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.008082, allocations: 4 kB / 0.8456 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.008084, allocations: 0 / 0.8456 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.008086, allocations: 0 / 0.8456 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001551/0.008241, allocations: 161.7 kB / 0.8457 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008242, allocations: 0 / 0.8457 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.008348, allocations: 59.84 kB / 0.8458 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.00835, allocations: 4 kB / 0.8458 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.008357, allocations: 4 kB / 0.8458 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.008358, allocations: 0 / 0.8458 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.008359, allocations: 0 / 0.8458 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.008502, allocations: 222.9 kB / 0.846 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.008515, allocations: 19.78 kB / 0.846 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.008527, allocations: 7.938 kB / 0.846 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.395e-05/0.008581, allocations: 19.98 kB / 0.8461 GB, free: 6.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.008621, allocations: 23.97 kB / 0.8461 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.008626, allocations: 0 / 0.8461 GB, free: 6.297 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.011e-05/0.008646, allocations: 24.84 kB / 0.8461 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008646, allocations: 0 / 0.8461 GB, free: 6.27 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001531/0.008799, allocations: 63.73 kB / 0.8462 GB, free: 6.207 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 (25): * Single equations (assignments): 25 * 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 8.413e-05/0.008883, allocations: 84.41 kB / 0.8462 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.009139, allocations: 100.6 kB / 0.8463 GB, free: 6.016 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.009142, allocations: 4.125 kB / 0.8463 GB, free: 6.012 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.493e-05/0.009197, allocations: 64.27 kB / 0.8464 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.009378, allocations: 31.97 kB / 0.8464 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005198/0.009898, allocations: 437.4 kB / 0.8469 GB, free: 5.465 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.825e-05/0.009946, allocations: 79.98 kB / 0.8469 GB, free: 5.363 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.851e-05/0.01, allocations: 21.47 kB / 0.847 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.31e-05/0.01009, allocations: 79.38 kB / 0.847 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of SimCode: time 6.51e-07/0.01009, allocations: 0 / 0.847 GB, free: 5.266 MB / 0.8073 GB Notification: Performance of Templates: time 0.004278/0.01437, allocations: 1.826 MB / 0.8488 GB, free: 3.504 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.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.314926617778838]