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.001292/0.001292, allocations: 78.66 kB / 20.68 MB, free: 3.816 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.001373/0.001373, allocations: 177 kB / 24.09 MB, free: 416 kB / 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.9911/0.9911, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.857/1.857, allocations: 377.9 MB / 0.624 GB, free: 8.418 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 2.254e-06/2.254e-06, allocations: 0 / 0.812 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.542e-05/2.767e-05, allocations: 3.156 kB / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.001875/0.001902, allocations: 0.9797 MB / 0.813 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.003707, allocations: 1.628 MB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.003811, allocations: 4.5 kB / 0.8145 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.003849, allocations: 15.81 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.003955, allocations: 30.12 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.004512, allocations: 215.4 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.004781, allocations: 311.3 kB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.00491, allocations: 56.3 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003141/0.005224, allocations: 191.6 kB / 0.8153 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.005347, allocations: 101.2 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.005383, allocations: 28 kB / 0.8155 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.771e-05/0.00546, allocations: 47.98 kB / 0.8155 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.205e-05/0.005503, allocations: 55.81 kB / 0.8156 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.082e-05/0.005573, allocations: 85.52 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.005795, allocations: 235.2 kB / 0.8159 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005798, allocations: 0 / 0.8159 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005799, allocations: 0 / 0.8159 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.005803, allocations: 0 / 0.8159 GB, free: 13.5 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.0006546/0.006457, allocations: 0.5578 MB / 0.8164 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.006501, allocations: 12.56 kB / 0.8164 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.00667, allocations: 45.95 kB / 0.8165 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.006911, allocations: 204.8 kB / 0.8167 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.006942, allocations: 20.66 kB / 0.8167 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.006969, allocations: 20.91 kB / 0.8167 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002427/0.007211, allocations: 186.4 kB / 0.8169 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.00722, allocations: 192 / 0.8169 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.007239, allocations: 16.3 kB / 0.8169 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.007247, allocations: 9.094 kB / 0.8169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.007379, allocations: 102 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.007926, allocations: 0.5132 MB / 0.8175 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.008077, allocations: 101.4 kB / 0.8176 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.008135, allocations: 48.67 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.008156, allocations: 7.984 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.008368, allocations: 204.3 kB / 0.8178 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=27): time 1.713e-06/0.00837, allocations: 0 / 0.8178 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.000375/0.008745, allocations: 310.9 kB / 0.8181 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.008779, allocations: 63.33 kB / 0.8182 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.008884, allocations: 204 kB / 0.8184 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/0.008919, allocations: 46.53 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.428e-05/0.008993, allocations: 163.7 kB / 0.8186 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.009047, allocations: 68.52 kB / 0.8187 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.614e-05/0.009143, allocations: 91.28 kB / 0.8187 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.009294, allocations: 0.5039 MB / 0.8192 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.846e-05/0.009393, allocations: 83.09 kB / 0.8193 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.009502, allocations: 129.7 kB / 0.8194 GB, free: 9.629 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.009654, allocations: 158.7 kB / 0.8196 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.009657, allocations: 0 / 0.8196 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003034/0.00996, allocations: 316.9 kB / 0.8199 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.009994, allocations: 41.69 kB / 0.8199 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.009999, allocations: 0 / 0.8199 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.01002, allocations: 0 / 0.8199 GB, free: 9.086 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.01012, allocations: 31.92 kB / 0.82 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01012, allocations: 7.938 kB / 0.82 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.01023, allocations: 47.81 kB / 0.82 GB, free: 9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.01025, allocations: 16.48 kB / 0.82 GB, free: 8.984 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.0001103/0.01036, allocations: 190.4 kB / 0.8202 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.0104, allocations: 31.89 kB / 0.8202 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.362e-05/0.01043, allocations: 22.62 kB / 0.8203 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.01043, allocations: 2.594 kB / 0.8203 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.01044, allocations: 3.938 kB / 0.8203 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.01044, allocations: 7.984 kB / 0.8203 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/0.01089, allocations: 0.5504 MB / 0.8208 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.01089, allocations: 0 / 0.8208 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.01093, allocations: 11.98 kB / 0.8208 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01093, allocations: 2.844 kB / 0.8208 GB, free: 8.137 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.01095, allocations: 11.98 kB / 0.8208 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01095, allocations: 0 / 0.8208 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01095, allocations: 3.938 kB / 0.8208 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003041/0.01126, allocations: 421.5 kB / 0.8212 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.01127, allocations: 11.91 kB / 0.8213 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.01131, allocations: 23.97 kB / 0.8213 GB, free: 7.656 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.01138, allocations: 16.92 kB / 0.8213 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.365e-05/0.01143, allocations: 31.88 kB / 0.8213 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.01145, allocations: 11.98 kB / 0.8213 GB, free: 7.598 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.01151, allocations: 149.1 kB / 0.8215 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01151, allocations: 0 / 0.8215 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002173/0.01173, allocations: 67.92 kB / 0.8215 GB, free: 7.387 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.000152/0.01188, allocations: 135.3 kB / 0.8217 GB, free: 7.246 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.01215, allocations: 263.3 kB / 0.8219 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01215, allocations: 4 kB / 0.8219 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.596e-05/0.01225, allocations: 93.12 kB / 0.822 GB, free: 6.871 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.01246, allocations: 31.97 kB / 0.822 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/0.01308, allocations: 345.3 kB / 0.8224 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.158e-05/0.01313, allocations: 84.19 kB / 0.8225 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.128e-05/0.01318, allocations: 20.27 kB / 0.8225 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.0133, allocations: 110.2 kB / 0.8226 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of SimCode: time 7.91e-07/0.0133, allocations: 0 / 0.8226 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of Templates: time 0.004968/0.01827, allocations: 3.139 MB / 0.8256 GB, free: 3.16 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.026991104707122]