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.001353/0.001353, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001047/0.001047, allocations: 165 kB / 23.82 MB, free: 0.7422 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.069/1.069, allocations: 177.1 MB / 204.2 MB, free: 5.219 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.939/1.939, allocations: 377.8 MB / 0.6236 GB, free: 8.523 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 1.723e-06/1.723e-06, allocations: 0 / 0.8115 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.82e-05, allocations: 4.703 kB / 0.8115 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.001579/0.001598, allocations: 0.9939 MB / 0.8125 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.003325, allocations: 1.64 MB / 0.8141 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/0.003413, allocations: 3.938 kB / 0.8141 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.094e-05/0.003454, allocations: 16.67 kB / 0.8141 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.00356, allocations: 28.61 kB / 0.8141 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.00412, allocations: 216.1 kB / 0.8143 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002793/0.0044, allocations: 312.6 kB / 0.8146 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.004545, allocations: 58.84 kB / 0.8147 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.004834, allocations: 183.7 kB / 0.8149 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.004951, allocations: 105.5 kB / 0.815 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.004992, allocations: 28 kB / 0.815 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.326e-05/0.005065, allocations: 47.94 kB / 0.8151 GB, free: 13 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.138e-05/0.005106, allocations: 59.8 kB / 0.8151 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.342e-05/0.00519, allocations: 88.64 kB / 0.8152 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.005427, allocations: 227.3 kB / 0.8154 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.005429, allocations: 4.594 kB / 0.8154 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.42e-07/0.00543, allocations: 0 / 0.8154 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.005434, allocations: 1.375 kB / 0.8154 GB, free: 12.62 MB / 0.7292 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.0007085/0.006143, allocations: 0.5483 MB / 0.816 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.006186, allocations: 9.344 kB / 0.816 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.006364, allocations: 44.83 kB / 0.816 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.006643, allocations: 213.8 kB / 0.8162 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.00668, allocations: 24.64 kB / 0.8162 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.006715, allocations: 20.38 kB / 0.8162 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.007035, allocations: 203.4 kB / 0.8164 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.007046, allocations: 192 / 0.8164 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.007069, allocations: 17.61 kB / 0.8165 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.00708, allocations: 3.938 kB / 0.8165 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.007267, allocations: 116.7 kB / 0.8166 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.007879, allocations: 0.5405 MB / 0.8171 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.008075, allocations: 111 kB / 0.8172 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.692e-05/0.008162, allocations: 56.48 kB / 0.8173 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.008185, allocations: 8 kB / 0.8173 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002492/0.008434, allocations: 217.3 kB / 0.8175 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=27): time 1.944e-06/0.008436, allocations: 1 kB / 0.8175 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.0004853/0.008922, allocations: 340.9 kB / 0.8178 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.00896, allocations: 59.34 kB / 0.8179 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.009082, allocations: 210.5 kB / 0.8181 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.009115, allocations: 41.7 kB / 0.8181 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.825e-05/0.009193, allocations: 164.3 kB / 0.8183 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.009242, allocations: 72.05 kB / 0.8183 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.635e-05/0.009339, allocations: 79.34 kB / 0.8184 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.009484, allocations: 0.5048 MB / 0.8189 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.009616, allocations: 93.66 kB / 0.819 GB, free: 8.77 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.00976, allocations: 146.6 kB / 0.8191 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.009956, allocations: 174 kB / 0.8193 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.009959, allocations: 5.375 kB / 0.8193 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003566/0.01032, allocations: 333.8 kB / 0.8196 GB, free: 8.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.01035, allocations: 41.69 kB / 0.8197 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01035, allocations: 1.281 kB / 0.8197 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.01037, allocations: 7.938 kB / 0.8197 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.01048, allocations: 31.92 kB / 0.8197 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.01049, allocations: 0.6562 kB / 0.8197 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.01059, allocations: 44.58 kB / 0.8197 GB, free: 7.941 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.01061, allocations: 13.53 kB / 0.8197 GB, free: 7.93 MB / 0.7292 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.00011/0.01072, allocations: 194.3 kB / 0.8199 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.01076, allocations: 31.86 kB / 0.82 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.0108, allocations: 25.95 kB / 0.82 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.01081, allocations: 3.938 kB / 0.82 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.01081, allocations: 0.875 kB / 0.82 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.01082, allocations: 3.984 kB / 0.82 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004929/0.01131, allocations: 0.5985 MB / 0.8206 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.01131, allocations: 0 / 0.8206 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.01135, allocations: 19.92 kB / 0.8206 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01136, allocations: 0 / 0.8206 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.01137, allocations: 11.92 kB / 0.8206 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01138, allocations: 4 kB / 0.8206 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01138, allocations: 0 / 0.8206 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.01172, allocations: 435.7 kB / 0.821 GB, free: 6.547 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.01173, allocations: 15.91 kB / 0.821 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.01177, allocations: 16.56 kB / 0.8211 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/0.01186, allocations: 25.72 kB / 0.8211 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.871e-05/0.01191, allocations: 27.89 kB / 0.8211 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.01194, allocations: 19.98 kB / 0.8211 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.263e-05/0.01199, allocations: 145.6 kB / 0.8213 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01199, allocations: 1.062 kB / 0.8213 GB, free: 6.305 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002148/0.01221, allocations: 71.83 kB / 0.8213 GB, free: 6.234 MB / 0.7292 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.0001373/0.01234, allocations: 126.8 kB / 0.8215 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003306/0.01267, allocations: 290.4 kB / 0.8217 GB, free: 5.801 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01268, allocations: 4.906 kB / 0.8217 GB, free: 5.797 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.0128, allocations: 104 kB / 0.8218 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.01302, allocations: 32.81 kB / 0.8219 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006519/0.01367, allocations: 355.2 kB / 0.8222 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.53e-05/0.01372, allocations: 76.92 kB / 0.8223 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.688e-05/0.01377, allocations: 23.91 kB / 0.8223 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.907e-05/0.01382, allocations: 28.44 kB / 0.8223 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.01382, allocations: 0 / 0.8223 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of Templates: time 0.004646/0.01847, allocations: 2.892 MB / 0.8252 GB, free: 2.316 MB / 0.7292 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.392472653184086]