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.001104/0.001104, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001056/0.001056, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.9978/0.9978, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.989/1.989, allocations: 377.9 MB / 0.6247 GB, free: 8.434 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.224e-06/2.224e-06, allocations: 0 / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.781e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.00513/0.005158, allocations: 1.053 MB / 0.8138 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00534/0.0105, allocations: 1.644 MB / 0.8154 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001651/0.01066, allocations: 4 kB / 0.8154 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.0108, allocations: 16.31 kB / 0.8154 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.01093, allocations: 60.25 kB / 0.8155 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005391/0.01147, allocations: 212.3 kB / 0.8157 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003452/0.01181, allocations: 335.2 kB / 0.816 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.01196, allocations: 51.69 kB / 0.8161 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.01219, allocations: 187.7 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.01233, allocations: 100.5 kB / 0.8163 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.01237, allocations: 32 kB / 0.8164 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.118e-05/0.01245, allocations: 45.09 kB / 0.8164 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.0125, allocations: 55.81 kB / 0.8165 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.076e-05/0.01259, allocations: 83.81 kB / 0.8166 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.01287, allocations: 228.9 kB / 0.8168 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.01288, allocations: 0 / 0.8168 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.71e-07/0.01288, allocations: 0 / 0.8168 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.01288, allocations: 0 / 0.8168 GB, free: 13.38 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.003754/0.01663, allocations: 0.5699 MB / 0.8173 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.01667, allocations: 8.031 kB / 0.8173 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.4e-05/0.01676, allocations: 42.11 kB / 0.8174 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.01703, allocations: 220.7 kB / 0.8176 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.01706, allocations: 24.66 kB / 0.8176 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.0171, allocations: 21.59 kB / 0.8176 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.01735, allocations: 145.1 kB / 0.8178 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.01735, allocations: 0.75 kB / 0.8178 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.01737, allocations: 8.312 kB / 0.8178 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.01738, allocations: 13.95 kB / 0.8178 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.01753, allocations: 74.09 kB / 0.8179 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/0.0182, allocations: 0.5075 MB / 0.8184 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.01844, allocations: 132.4 kB / 0.8185 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.275e-05/0.0185, allocations: 39.67 kB / 0.8185 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.01851, allocations: 9.453 kB / 0.8185 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.01872, allocations: 158.5 kB / 0.8187 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=25): time 1.954e-06/0.01872, allocations: 0 / 0.8187 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=25): time 0.003401/0.02212, allocations: 237.5 kB / 0.8189 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.02217, allocations: 63.34 kB / 0.819 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.02231, allocations: 227.5 kB / 0.8192 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.02235, allocations: 41.69 kB / 0.8192 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.074e-05/0.02244, allocations: 168.1 kB / 0.8194 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.608e-05/0.0225, allocations: 67.44 kB / 0.8194 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.02261, allocations: 88.58 kB / 0.8195 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.02275, allocations: 0.5001 MB / 0.82 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.02286, allocations: 77.66 kB / 0.8201 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.023, allocations: 164.1 kB / 0.8203 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.02317, allocations: 168.2 kB / 0.8204 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.02317, allocations: 0 / 0.8204 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0003583/0.02353, allocations: 306.3 kB / 0.8207 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.02357, allocations: 29.7 kB / 0.8207 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.02357, allocations: 4 kB / 0.8207 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.02358, allocations: 4.906 kB / 0.8207 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.476e-05/0.02368, allocations: 31.92 kB / 0.8208 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.02368, allocations: 14.19 kB / 0.8208 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.02383, allocations: 35.92 kB / 0.8208 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.408e-05/0.02385, allocations: 15.98 kB / 0.8208 GB, free: 8.953 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.0001268/0.02398, allocations: 187.9 kB / 0.821 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.02402, allocations: 27.91 kB / 0.821 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.02429, allocations: 207.5 kB / 0.8212 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.0243, allocations: 7.938 kB / 0.8212 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.0243, allocations: 0 / 0.8212 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.0243, allocations: 0 / 0.8212 GB, free: 8.527 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.02482, allocations: 0.5318 MB / 0.8218 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.02482, allocations: 0 / 0.8218 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.02487, allocations: 16.78 kB / 0.8218 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.02488, allocations: 3.938 kB / 0.8218 GB, free: 7.941 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.02489, allocations: 12.48 kB / 0.8218 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.02489, allocations: 0.5625 kB / 0.8218 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.0249, allocations: 0 / 0.8218 GB, free: 7.93 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.02533, allocations: 359.4 kB / 0.8221 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.02536, allocations: 33.06 kB / 0.8222 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.0254, allocations: 11.94 kB / 0.8222 GB, free: 7.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.0255, allocations: 16.67 kB / 0.8222 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.02556, allocations: 27.89 kB / 0.8222 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.02559, allocations: 16.8 kB / 0.8222 GB, free: 7.461 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.004e-05/0.02566, allocations: 156.1 kB / 0.8224 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02566, allocations: 0.9375 kB / 0.8224 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002986/0.02595, allocations: 63.94 kB / 0.8225 GB, free: 7.246 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.0001607/0.02611, allocations: 131 kB / 0.8226 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.02641, allocations: 240.5 kB / 0.8228 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.02641, allocations: 3.969 kB / 0.8228 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.928e-05/0.02651, allocations: 78.42 kB / 0.8229 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.02683, allocations: 47.95 kB / 0.8229 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005217/0.02736, allocations: 343.9 kB / 0.8233 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.088e-05/0.02741, allocations: 80.33 kB / 0.8233 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.161e-05/0.02748, allocations: 24.06 kB / 0.8234 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/0.02763, allocations: 130.2 kB / 0.8235 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.02763, allocations: 1.125 kB / 0.8235 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of Templates: time 0.009933/0.03756, allocations: 3.967 MB / 0.8274 GB, free: 2.242 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.380706464871764]