Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.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.00104/0.00104, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001641/0.001641, allocations: 169 kB / 24.28 MB, free: 280 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 1.024/1.024, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.94/1.94, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] 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.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conChaWid.u|conChaWid.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0.6562 kB / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.134e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001931/0.001962, allocations: 1.078 MB / 0.8126 GB, free: 0.9922 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002139/0.004101, allocations: 1.641 MB / 0.8142 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001786/0.004279, allocations: 0 / 0.8142 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.004449, allocations: 23.73 kB / 0.8142 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.004603, allocations: 44.38 kB / 0.8143 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000644/0.005247, allocations: 215.5 kB / 0.8145 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.005689, allocations: 332.2 kB / 0.8148 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.005894, allocations: 59.02 kB / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.006141, allocations: 188.2 kB / 0.815 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.006276, allocations: 96.27 kB / 0.8151 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.291e-05/0.006319, allocations: 32 kB / 0.8151 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.951e-05/0.006399, allocations: 44.48 kB / 0.8152 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.035e-05/0.006449, allocations: 61.06 kB / 0.8152 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.006551, allocations: 91.8 kB / 0.8153 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002807/0.006832, allocations: 231.2 kB / 0.8155 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.006836, allocations: 2.344 kB / 0.8156 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.833e-06/0.006838, allocations: 0 / 0.8156 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.006844, allocations: 0 / 0.8156 GB, free: 13.95 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.0007034/0.007548, allocations: 0.5607 MB / 0.8161 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.007585, allocations: 12.64 kB / 0.8161 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.551e-05/0.007671, allocations: 40.8 kB / 0.8162 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.007929, allocations: 221.7 kB / 0.8164 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.007959, allocations: 20.66 kB / 0.8164 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.00799, allocations: 21.59 kB / 0.8164 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.008252, allocations: 161.6 kB / 0.8166 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.00826, allocations: 0.6875 kB / 0.8166 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.008282, allocations: 12.36 kB / 0.8166 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.008292, allocations: 12.41 kB / 0.8166 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.008444, allocations: 85.28 kB / 0.8167 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.00909, allocations: 0.5471 MB / 0.8172 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.009368, allocations: 144 kB / 0.8173 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.009445, allocations: 44.19 kB / 0.8174 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.009471, allocations: 9.375 kB / 0.8174 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.009698, allocations: 166 kB / 0.8175 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/0.0097, allocations: 0 / 0.8175 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.0004011/0.0101, allocations: 268.5 kB / 0.8178 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.01014, allocations: 63.33 kB / 0.8179 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.01027, allocations: 231.5 kB / 0.8181 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.0103, allocations: 41.7 kB / 0.8181 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.01038, allocations: 172 kB / 0.8183 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.01042, allocations: 59.58 kB / 0.8183 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.01052, allocations: 84.66 kB / 0.8184 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.01064, allocations: 0.5001 MB / 0.8189 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.01076, allocations: 89.66 kB / 0.819 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.01091, allocations: 180.8 kB / 0.8192 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.01108, allocations: 173.9 kB / 0.8193 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.01109, allocations: 0 / 0.8193 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003493/0.01144, allocations: 321 kB / 0.8196 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.01147, allocations: 46.53 kB / 0.8197 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.01148, allocations: 0 / 0.8197 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.01149, allocations: 7.438 kB / 0.8197 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.657e-05/0.01158, allocations: 27.92 kB / 0.8197 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.01158, allocations: 4 kB / 0.8197 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.01171, allocations: 49.64 kB / 0.8198 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.01173, allocations: 12 kB / 0.8198 GB, free: 9.348 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition6,$whenCondition7,conChaWid.preBre.y,$PRE.conChaWid.preBre.u,$whenCondition1,conPul1.booPul.y,$PRE.conPul1.booPul.y,conChaWid.truFalHol.entryTimeFalse,$PRE.conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,$PRE.conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.not_y,$PRE.conChaWid.truFalHol.not_y,conChaWid.truFalHol.not_u,$PRE.conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,$PRE.conChaWid.truFalHol.y,conChaWid.truFalHol.u,$PRE.conChaWid.truFalHol.u,conChaWid.cycOut.t0,$PRE.conChaWid.cycOut.t0,conChaWid.preBre.u,conChaWid.edg2.y,conChaWid.edg2.u,$PRE.conChaWid.edg2.u,conChaWid.triSam.y,$PRE.conChaWid.triSam.y,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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.0001156/0.01184, allocations: 201 kB / 0.82 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.01187, allocations: 23.91 kB / 0.82 GB, free: 9.121 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.01216, allocations: 233.3 kB / 0.8202 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01217, allocations: 0 / 0.8202 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.01217, allocations: 3.984 kB / 0.8202 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01218, allocations: 4 kB / 0.8202 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.01269, allocations: 0.5674 MB / 0.8208 GB, free: 8.277 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01269, allocations: 3.984 kB / 0.8208 GB, free: 8.273 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.209e-05/0.01274, allocations: 8 kB / 0.8208 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.01274, allocations: 3.938 kB / 0.8208 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.01275, allocations: 13.3 kB / 0.8208 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01276, allocations: 0 / 0.8208 GB, free: 8.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01276, allocations: 4 kB / 0.8208 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.01305, allocations: 382.2 kB / 0.8212 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.01307, allocations: 19.83 kB / 0.8212 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.0131, allocations: 12.84 kB / 0.8212 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.01318, allocations: 11.98 kB / 0.8212 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.01324, allocations: 25.23 kB / 0.8212 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.01326, allocations: 19.98 kB / 0.8213 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.859e-05/0.01334, allocations: 160.2 kB / 0.8214 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01334, allocations: 0.5938 kB / 0.8214 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002255/0.01357, allocations: 67.88 kB / 0.8215 GB, free: 7.547 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: 20 (conChaWid.edg2.y,conChaWid.preBre.y,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conChaWid.triSam.y,conChaWid.edg2.u,conChaWid.preBre.u,conChaWid.cycOut.t0,conChaWid.truFalHol.u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_u,conChaWid.truFalHol.not_y,conChaWid.truFalHol.entryTimeTrue,conChaWid.truFalHol.entryTimeFalse,conPul1.booPul.y) * Number of discrete states: 8 (conChaWid.truFalHol.entryTimeFalse,conChaWid.truFalHol.entryTimeTrue,conChaWid.preBre.u,conChaWid.edg2.u,conChaWid.truFalHol.u,conChaWid.truFalHol.not_u,conChaWid.truFalHol.y,conChaWid.truFalHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001554/0.01372, allocations: 125.8 kB / 0.8216 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000315/0.01404, allocations: 268.5 kB / 0.8219 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01404, allocations: 3.156 kB / 0.8219 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.01414, allocations: 87.58 kB / 0.8219 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.01441, allocations: 51.97 kB / 0.822 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.01492, allocations: 357.7 kB / 0.8223 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.78e-05/0.01497, allocations: 77.45 kB / 0.8224 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.025e-05/0.01503, allocations: 22.98 kB / 0.8224 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.01508, allocations: 29.61 kB / 0.8225 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.01508, allocations: 0 / 0.8225 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of Templates: time 0.005463/0.02054, allocations: 3.56 MB / 0.8259 GB, free: 3.004 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_VariablePulseMinHold.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.251078927889466]