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.PIIntegralTime.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.001201/0.001201, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009915/0.0009915, allocations: 177 kB / 23.36 MB, free: 1.129 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.011/1.011, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.377/2.377, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T.y|L.y|PIIntTim.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.031e-05, allocations: 5.688 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime): time 0.001765/0.001786, allocations: 0.9307 MB / 0.8395 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.003144, allocations: 0.9208 MB / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.003245, allocations: 0 / 0.8404 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 6.4e-05/0.003309, allocations: 15.8 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.003449, allocations: 31.67 kB / 0.8405 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.003566, allocations: 47.94 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.00378, allocations: 156.2 kB / 0.8407 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002139/0.003994, allocations: 81.95 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.004177, allocations: 87.86 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.004289, allocations: 51.8 kB / 0.8409 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.004328, allocations: 16 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 1.949e-05/0.004348, allocations: 16 kB / 0.8409 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.00438, allocations: 27.92 kB / 0.8409 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.314e-05/0.004433, allocations: 51.83 kB / 0.841 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.004587, allocations: 107.6 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.004589, allocations: 0 / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.773e-06/0.004591, allocations: 3.984 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.004594, allocations: 4 kB / 0.8411 GB, free: 11.64 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004557/0.00505, allocations: 336.3 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.005087, allocations: 8.625 kB / 0.8414 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.005141, allocations: 24.92 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.005306, allocations: 141.5 kB / 0.8416 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.005329, allocations: 16.12 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.005352, allocations: 16.38 kB / 0.8416 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.005577, allocations: 126.9 kB / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.005589, allocations: 192 / 0.8417 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.005603, allocations: 8.312 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.005614, allocations: 4.375 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.83e-05/0.005692, allocations: 43.86 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004755/0.006168, allocations: 315.4 kB / 0.8421 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.006361, allocations: 90.55 kB / 0.8422 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.006399, allocations: 36.83 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.006408, allocations: 0 / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.00643, allocations: 34.56 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.954e-06/0.006432, allocations: 0 / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0001503/0.006583, allocations: 97.16 kB / 0.8423 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.183e-05/0.006614, allocations: 55.41 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.517e-05/0.00667, allocations: 114.7 kB / 0.8425 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.006681, allocations: 29.7 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.006722, allocations: 120.4 kB / 0.8426 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.006754, allocations: 59.53 kB / 0.8427 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.006784, allocations: 25.7 kB / 0.8427 GB, free: 9.836 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.408e-05/0.006858, allocations: 318.8 kB / 0.843 GB, free: 9.516 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.006877, allocations: 12 kB / 0.843 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.66e-05/0.006894, allocations: 8 kB / 0.843 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.668e-05/0.00694, allocations: 44.81 kB / 0.8431 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.006943, allocations: 0 / 0.8431 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14) (initialization): time 7.122e-05/0.007014, allocations: 73.61 kB / 0.8432 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.007026, allocations: 8 kB / 0.8432 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.00703, allocations: 0 / 0.8432 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.007049, allocations: 3.938 kB / 0.8432 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.143e-05/0.00714, allocations: 35.97 kB / 0.8432 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.007146, allocations: 7.984 kB / 0.8432 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.649e-05/0.007172, allocations: 4 kB / 0.8432 GB, free: 9.312 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.007178, allocations: 4 kB / 0.8432 GB, free: 9.309 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 (14): * Single equations (assignments): 14 * 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.004e-05/0.007239, allocations: 117.8 kB / 0.8433 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.007254, allocations: 7.984 kB / 0.8433 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.273e-05/0.007277, allocations: 20.42 kB / 0.8434 GB, free: 9.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.00728, allocations: 3.938 kB / 0.8434 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.007281, allocations: 0 / 0.8434 GB, free: 9.156 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.007286, allocations: 15.92 kB / 0.8434 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.007394, allocations: 113.8 kB / 0.8435 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.007395, allocations: 0 / 0.8435 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.241e-05/0.007457, allocations: 35.97 kB / 0.8435 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.007458, allocations: 0 / 0.8435 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.007463, allocations: 0 / 0.8435 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007464, allocations: 0 / 0.8435 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.007465, allocations: 0 / 0.8435 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.00757, allocations: 186.8 kB / 0.8437 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-06/0.007579, allocations: 11.94 kB / 0.8437 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.007588, allocations: 4 kB / 0.8437 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.981e-05/0.007628, allocations: 8 kB / 0.8437 GB, free: 8.758 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.007664, allocations: 15.97 kB / 0.8437 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.00767, allocations: 7.938 kB / 0.8437 GB, free: 8.734 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.441e-05/0.007685, allocations: 21.22 kB / 0.8438 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.007685, allocations: 0 / 0.8438 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001264/0.007811, allocations: 31.89 kB / 0.8438 GB, free: 8.68 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 (14): * Single equations (assignments): 14 * 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.963e-05/0.007891, allocations: 80.41 kB / 0.8439 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.436e-05/0.007985, allocations: 60.78 kB / 0.8439 GB, free: 8.527 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.007988, allocations: 4 kB / 0.8439 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.295e-05/0.008021, allocations: 32.78 kB / 0.844 GB, free: 8.488 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.008181, allocations: 19.98 kB / 0.844 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.008525, allocations: 257.1 kB / 0.8442 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.732e-05/0.008562, allocations: 76.83 kB / 0.8443 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.65e-05/0.008599, allocations: 8.5 kB / 0.8443 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.00866, allocations: 63.36 kB / 0.8444 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.00866, allocations: 4 kB / 0.8444 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.002751/0.01141, allocations: 1.193 MB / 0.8455 GB, free: 6.898 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.BaseClasses.Validation.PIIntegralTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_BaseClasses_Validation_PIIntegralTime.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.366379903163761]