Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.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.0009801/0.0009801, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.000915/0.000915, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9748/0.9748, allocations: 177.1 MB / 204.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.834/1.834, allocations: 377.9 MB / 0.6236 GB, free: 8.5 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 1.203 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.169e-05, allocations: 3.375 kB / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.00256/0.002592, allocations: 0.9887 MB / 0.8125 GB, free: 0.7578 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002477/0.005069, allocations: 1.632 MB / 0.8141 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.005192, allocations: 7.938 kB / 0.8141 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.362e-05/0.005246, allocations: 16.62 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.005382, allocations: 32.5 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007153/0.006097, allocations: 217.1 kB / 0.8144 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003678/0.006465, allocations: 303.4 kB / 0.8146 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.006634, allocations: 54.86 kB / 0.8147 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.006955, allocations: 201.2 kB / 0.8149 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.007073, allocations: 91.67 kB / 0.815 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.007108, allocations: 35.94 kB / 0.815 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.571e-05/0.007184, allocations: 49.72 kB / 0.8151 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.007229, allocations: 59.81 kB / 0.8151 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.155e-05/0.00731, allocations: 83.88 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.007559, allocations: 227.2 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.007563, allocations: 0 / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.513e-06/0.007565, allocations: 4.969 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.00757, allocations: 0 / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.000688/0.008258, allocations: 0.5577 MB / 0.816 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.008296, allocations: 8.031 kB / 0.816 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.008476, allocations: 46.05 kB / 0.816 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.008726, allocations: 210.8 kB / 0.8162 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.008759, allocations: 16.66 kB / 0.8162 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.008794, allocations: 24.38 kB / 0.8163 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.009095, allocations: 198.1 kB / 0.8164 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.009104, allocations: 192 / 0.8164 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.199e-05/0.009126, allocations: 12.89 kB / 0.8165 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.009136, allocations: 11.88 kB / 0.8165 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.009324, allocations: 113.4 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.00998, allocations: 0.5483 MB / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.01017, allocations: 110.9 kB / 0.8172 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.25e-05/0.01026, allocations: 52.28 kB / 0.8173 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.01028, allocations: 4.688 kB / 0.8173 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/0.01053, allocations: 225.4 kB / 0.8175 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 1.503e-06/0.01053, allocations: 0 / 0.8175 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.0004804/0.01101, allocations: 336.9 kB / 0.8178 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.01105, allocations: 64.72 kB / 0.8179 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.01115, allocations: 204.2 kB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.01118, allocations: 41.69 kB / 0.8181 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.01125, allocations: 176.5 kB / 0.8183 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.49e-05/0.0113, allocations: 63.53 kB / 0.8183 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.595e-05/0.01138, allocations: 84.27 kB / 0.8184 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.01149, allocations: 0.5001 MB / 0.8189 GB, free: 10 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.01162, allocations: 97.64 kB / 0.819 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.01176, allocations: 150.9 kB / 0.8191 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.01194, allocations: 169.5 kB / 0.8193 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01194, allocations: 0.8438 kB / 0.8193 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003433/0.01228, allocations: 344.1 kB / 0.8196 GB, free: 9.195 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.01231, allocations: 33.69 kB / 0.8197 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.01232, allocations: 4 kB / 0.8197 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.01234, allocations: 3.938 kB / 0.8197 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.01245, allocations: 35.92 kB / 0.8197 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.01246, allocations: 7 kB / 0.8197 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.01256, allocations: 43.81 kB / 0.8198 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.01258, allocations: 15.98 kB / 0.8198 GB, free: 9.051 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition5,$whenCondition6,holTim.truHol.entryTimeFalse,$PRE.holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,$PRE.holTim.truHol.entryTimeTrue,holTim.truHol.not_y,$PRE.holTim.truHol.not_y,holTim.truHol.not_u,$PRE.holTim.truHol.not_u,holTim.truHol.y,$PRE.holTim.truHol.y,holTim.truHol.u,$PRE.holTim.truHol.u,holTim.triSam.y,$PRE.holTim.triSam.y,booPul.y,$PRE.booPul.y,hol.truHol.entryTimeFalse,$PRE.hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,$PRE.hol.truHol.entryTimeTrue,hol.truHol.not_y,$PRE.hol.truHol.not_y,hol.truHol.not_u,$PRE.hol.truHol.not_u,hol.truHol.y,$PRE.hol.truHol.y,hol.truHol.u,$PRE.hol.truHol.u,hol.triSam.y,$PRE.hol.triSam.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * 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.0001197/0.0127, allocations: 189.9 kB / 0.8199 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.01274, allocations: 31.89 kB / 0.82 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.01277, allocations: 17.97 kB / 0.82 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.01278, allocations: 7.938 kB / 0.82 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.01278, allocations: 0.625 kB / 0.82 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.01279, allocations: 7.969 kB / 0.82 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.0133, allocations: 0.6 MB / 0.8206 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01331, allocations: 0 / 0.8206 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.01335, allocations: 13.12 kB / 0.8206 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.01336, allocations: 3.984 kB / 0.8206 GB, free: 8.141 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.01337, allocations: 15.92 kB / 0.8206 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.01338, allocations: 1.094 kB / 0.8206 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.01338, allocations: 0 / 0.8206 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.01373, allocations: 432.4 kB / 0.821 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.01374, allocations: 11.91 kB / 0.8211 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.01378, allocations: 28.64 kB / 0.8211 GB, free: 7.645 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.01386, allocations: 15.95 kB / 0.8211 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.01392, allocations: 31.89 kB / 0.8211 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.01394, allocations: 19.97 kB / 0.8211 GB, free: 7.582 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.716e-05/0.014, allocations: 151.1 kB / 0.8213 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.11e-07/0.014, allocations: 0 / 0.8213 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002136/0.01422, allocations: 63.92 kB / 0.8214 GB, free: 7.371 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hol.triSam.y,hol.truHol.u,hol.truHol.y,hol.truHol.not_u,hol.truHol.not_y,hol.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,booPul.y,holTim.triSam.y,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_u,holTim.truHol.not_y,holTim.truHol.entryTimeTrue,holTim.truHol.entryTimeFalse) * Number of discrete states: 12 (holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,holTim.truHol.not_u,hol.truHol.u,hol.truHol.not_u,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_y,hol.truHol.y,hol.truHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001539/0.01437, allocations: 125.2 kB / 0.8215 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003408/0.01471, allocations: 295.1 kB / 0.8218 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01471, allocations: 3.938 kB / 0.8218 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.01483, allocations: 101 kB / 0.8219 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.01505, allocations: 35.16 kB / 0.8219 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007198/0.01577, allocations: 356.6 kB / 0.8222 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.924e-05/0.01582, allocations: 84.19 kB / 0.8223 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.185e-05/0.01587, allocations: 19.61 kB / 0.8223 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.01592, allocations: 29.08 kB / 0.8224 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of SimCode: time 6.71e-07/0.01592, allocations: 1.188 kB / 0.8224 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.00531/0.02123, allocations: 3.065 MB / 0.8253 GB, free: 3.254 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.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.050781246740371]