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.0009612/0.0009612, allocations: 83.59 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.0009881/0.0009881, 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.9345/0.9345, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.859/1.859, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.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 3.276e-06/3.276e-06, allocations: 0 / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.809e-05/4.137e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001861/0.001902, allocations: 1.082 MB / 0.8126 GB, free: 0.6172 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.004115, allocations: 1.653 MB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.004252, allocations: 4 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002752/0.004527, allocations: 15.75 kB / 0.8142 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.004659, allocations: 48.39 kB / 0.8143 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.005187, allocations: 216.4 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003154/0.005502, allocations: 331.2 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.005648, allocations: 62.27 kB / 0.8149 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002198/0.005868, allocations: 187.7 kB / 0.8151 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.005987, allocations: 92.3 kB / 0.8151 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.006026, allocations: 37.19 kB / 0.8152 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.768e-05/0.006104, allocations: 40 kB / 0.8152 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.155e-05/0.006145, allocations: 47.83 kB / 0.8153 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.037e-05/0.006236, allocations: 94.17 kB / 0.8154 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.006523, allocations: 227.2 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.006526, allocations: 0 / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006527, allocations: 0 / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.006533, allocations: 4 kB / 0.8156 GB, free: 13.58 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.0007085/0.007242, allocations: 0.5651 MB / 0.8161 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.007282, allocations: 13.56 kB / 0.8161 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.743e-05/0.00737, allocations: 40.78 kB / 0.8162 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.007632, allocations: 225.5 kB / 0.8164 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.00766, allocations: 12.66 kB / 0.8164 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.00769, allocations: 20.38 kB / 0.8164 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.007971, allocations: 166.1 kB / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.007981, allocations: 1.062 kB / 0.8166 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.008001, allocations: 12.3 kB / 0.8166 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.008011, allocations: 8.75 kB / 0.8166 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.008158, allocations: 84.75 kB / 0.8167 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006426/0.0088, allocations: 0.5442 MB / 0.8172 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.009058, allocations: 135.3 kB / 0.8173 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.772e-05/0.009136, allocations: 56.75 kB / 0.8174 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.009152, allocations: 0 / 0.8174 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.009357, allocations: 165.6 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.009359, allocations: 0.625 kB / 0.8176 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.0003955/0.009754, allocations: 268.5 kB / 0.8178 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.009793, allocations: 63.33 kB / 0.8179 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.009921, allocations: 228.1 kB / 0.8181 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.009949, allocations: 37.7 kB / 0.8181 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.125e-05/0.01002, allocations: 167.4 kB / 0.8183 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.01007, allocations: 68.42 kB / 0.8184 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.713e-05/0.01015, allocations: 83.34 kB / 0.8184 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.01028, allocations: 0.5034 MB / 0.8189 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.0104, allocations: 89.66 kB / 0.819 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.01054, allocations: 174.4 kB / 0.8192 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.01071, allocations: 176.3 kB / 0.8193 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.01072, allocations: 0 / 0.8193 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003285/0.01104, allocations: 317 kB / 0.8196 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.01108, allocations: 49.56 kB / 0.8197 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.01108, allocations: 0.5 kB / 0.8197 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.0111, allocations: 5.938 kB / 0.8197 GB, free: 9.078 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.869e-05/0.01117, allocations: 31.92 kB / 0.8197 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.01118, allocations: 4 kB / 0.8197 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.0113, allocations: 41.27 kB / 0.8198 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.01131, allocations: 11.94 kB / 0.8198 GB, free: 8.992 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.0001076/0.01142, allocations: 197.7 kB / 0.82 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.01145, allocations: 27.89 kB / 0.82 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.01174, allocations: 224 kB / 0.8202 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01174, allocations: 4 kB / 0.8202 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01174, allocations: 0.9062 kB / 0.8202 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01175, allocations: 3.984 kB / 0.8202 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.01223, allocations: 0.5672 MB / 0.8208 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01223, allocations: 0 / 0.8208 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.01228, allocations: 25.2 kB / 0.8208 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01228, allocations: 0 / 0.8208 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.0123, allocations: 7.984 kB / 0.8208 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.0123, allocations: 0 / 0.8208 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0123, allocations: 0.6562 kB / 0.8208 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004241/0.01272, allocations: 386.1 kB / 0.8212 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.01274, allocations: 15.84 kB / 0.8212 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.01277, allocations: 17.58 kB / 0.8212 GB, free: 7.473 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.537e-05/0.01285, allocations: 15.98 kB / 0.8212 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/0.01291, allocations: 27.89 kB / 0.8212 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.01293, allocations: 11.98 kB / 0.8213 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7e-05/0.013, allocations: 171.2 kB / 0.8214 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.013, allocations: 0 / 0.8214 GB, free: 7.254 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002149/0.01321, allocations: 59.95 kB / 0.8215 GB, free: 7.195 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.0001454/0.01336, allocations: 127.4 kB / 0.8216 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003155/0.01367, allocations: 265.5 kB / 0.8219 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01368, allocations: 0 / 0.8219 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.01378, allocations: 87.58 kB / 0.8219 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.01404, allocations: 54.17 kB / 0.822 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.01456, allocations: 353.3 kB / 0.8223 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.512e-05/0.0146, allocations: 80.33 kB / 0.8224 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.127e-05/0.01467, allocations: 23.34 kB / 0.8224 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.01472, allocations: 29.55 kB / 0.8225 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.01472, allocations: 0 / 0.8225 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of Templates: time 0.005862/0.02058, allocations: 3.792 MB / 0.8262 GB, free: 2.422 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.072271466255188]