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.001508/0.001508, allocations: 76.81 kB / 20.75 MB, free: 3.738 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.002126/0.002126, allocations: 161 kB / 24.17 MB, free: 328 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.086/1.086, allocations: 177.1 MB / 204.6 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.094/2.094, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.054e-06/2.054e-06, allocations: 0 / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.421e-05, allocations: 10.86 kB / 0.7601 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001869/0.001893, allocations: 1.107 MB / 0.7612 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.003588, allocations: 1.655 MB / 0.7628 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.003689, allocations: 8.594 kB / 0.7628 GB, free: 3.82 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.003804, allocations: 21.05 kB / 0.7628 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.003909, allocations: 53.95 kB / 0.7629 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000378/0.004287, allocations: 211.5 kB / 0.7631 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.004545, allocations: 335 kB / 0.7634 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.004664, allocations: 63.66 kB / 0.7634 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.004842, allocations: 188.4 kB / 0.7636 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.004954, allocations: 91.69 kB / 0.7637 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.005007, allocations: 32.75 kB / 0.7637 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-05/0.005098, allocations: 43.97 kB / 0.7638 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.287e-05/0.005141, allocations: 52.55 kB / 0.7638 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.871e-05/0.00522, allocations: 91.8 kB / 0.7639 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.00545, allocations: 221.6 kB / 0.7641 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005452, allocations: 3.938 kB / 0.7641 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.32e-07/0.005453, allocations: 0 / 0.7641 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.005457, allocations: 3.938 kB / 0.7641 GB, free: 2.449 MB / 0.7136 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.0006122/0.006069, allocations: 460 kB / 0.7646 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.006108, allocations: 8.031 kB / 0.7646 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.006166, allocations: 32.91 kB / 0.7646 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.006399, allocations: 186.7 kB / 0.7648 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.006423, allocations: 16.66 kB / 0.7648 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.00645, allocations: 21.53 kB / 0.7648 GB, free: 1.688 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.006649, allocations: 145 kB / 0.765 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.00666, allocations: 1.094 kB / 0.765 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.006676, allocations: 12.36 kB / 0.765 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.006685, allocations: 7.938 kB / 0.765 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.006786, allocations: 64.91 kB / 0.765 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.007245, allocations: 355.7 kB / 0.7654 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.007409, allocations: 102.5 kB / 0.7655 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.38e-05/0.007453, allocations: 36.84 kB / 0.7655 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.442e-05/0.007467, allocations: 6.75 kB / 0.7655 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.007627, allocations: 150.3 kB / 0.7657 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.007628, allocations: 0 / 0.7657 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0002074/0.007836, allocations: 169.5 kB / 0.7658 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.007864, allocations: 60.28 kB / 0.7659 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.536e-05/0.007959, allocations: 167 kB / 0.766 GB, free: 380 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.007986, allocations: 42.67 kB / 0.7661 GB, free: 332 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.466e-05/0.008031, allocations: 116.6 kB / 0.7662 GB, free: 212 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.008071, allocations: 71.5 kB / 0.7663 GB, free: 140 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.008142, allocations: 66.56 kB / 0.7663 GB, free: 68 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.007e-05/0.008232, allocations: 334.8 kB / 0.7667 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.89e-05/0.008301, allocations: 70.22 kB / 0.7667 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.428e-05/0.008396, allocations: 151.7 kB / 0.7669 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.008513, allocations: 148.9 kB / 0.767 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.008515, allocations: 4 kB / 0.767 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000199/0.008714, allocations: 249 kB / 0.7672 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.008738, allocations: 29.7 kB / 0.7673 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.008743, allocations: 4 kB / 0.7673 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.008756, allocations: 3.938 kB / 0.7673 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.739e-05/0.008834, allocations: 42.8 kB / 0.7673 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.008839, allocations: 7.984 kB / 0.7673 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.008947, allocations: 35.88 kB / 0.7674 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.008964, allocations: 11.98 kB / 0.7674 GB, free: 14.92 MB / 0.7292 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 8.54e-05/0.00905, allocations: 143.4 kB / 0.7675 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.009073, allocations: 23.97 kB / 0.7675 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.009227, allocations: 141.9 kB / 0.7677 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.009231, allocations: 10.56 kB / 0.7677 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.009233, allocations: 0 / 0.7677 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.009236, allocations: 0 / 0.7677 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.009539, allocations: 354.9 kB / 0.768 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.00954, allocations: 0 / 0.768 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.155e-05/0.009582, allocations: 19.92 kB / 0.768 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.009584, allocations: 0 / 0.768 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.009596, allocations: 15.73 kB / 0.7681 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.009597, allocations: 4 kB / 0.7681 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.009598, allocations: 0 / 0.7681 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.009745, allocations: 230.8 kB / 0.7683 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.928e-05/0.009764, allocations: 19.84 kB / 0.7683 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.009791, allocations: 11.94 kB / 0.7683 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.009864, allocations: 15.98 kB / 0.7683 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.009915, allocations: 31.89 kB / 0.7684 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.009931, allocations: 11.98 kB / 0.7684 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.009966, allocations: 49.27 kB / 0.7684 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.009966, allocations: 4 kB / 0.7684 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001783/0.01014, allocations: 63.89 kB / 0.7685 GB, free: 13.75 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: 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.0001196/0.01026, allocations: 103.1 kB / 0.7686 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.0105, allocations: 239.4 kB / 0.7688 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.0105, allocations: 1.562 kB / 0.7688 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.499e-05/0.01057, allocations: 64.77 kB / 0.7689 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.01078, allocations: 53.31 kB / 0.7689 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004514/0.01123, allocations: 327.1 kB / 0.7692 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.055e-05/0.01128, allocations: 81.34 kB / 0.7693 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.216e-05/0.01135, allocations: 26.94 kB / 0.7693 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.01148, allocations: 103.9 kB / 0.7694 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of SimCode: time 7.91e-07/0.01148, allocations: 8.781 kB / 0.7694 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of Templates: time 0.00525/0.01673, allocations: 3.84 MB / 0.7732 GB, free: 9.062 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.314169307239354]