Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001027/0.001027, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001824/0.001824, allocations: 173 kB / 23.36 MB, free: 1.133 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 1.008/1.008, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.527/2.527, allocations: 438.8 MB / 0.6826 GB, free: 13.65 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.838e-05/2.004e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold): time 0.001842/0.001862, allocations: 1.062 MB / 0.8396 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.003978, allocations: 1.661 MB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.004095, allocations: 7.938 kB / 0.8413 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.00421, allocations: 19.73 kB / 0.8413 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.004319, allocations: 43.66 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.004773, allocations: 227.4 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.005041, allocations: 323.2 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.00515, allocations: 59.67 kB / 0.8419 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.005336, allocations: 191.6 kB / 0.8421 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.005448, allocations: 91.73 kB / 0.8422 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.459e-05/0.005483, allocations: 32 kB / 0.8422 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.673e-05/0.005549, allocations: 47.92 kB / 0.8422 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.846e-05/0.005588, allocations: 47.83 kB / 0.8423 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 7.585e-05/0.005664, allocations: 99.8 kB / 0.8424 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.005886, allocations: 223.3 kB / 0.8426 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.005888, allocations: 0 / 0.8426 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005889, allocations: 0 / 0.8426 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.005892, allocations: 0 / 0.8426 GB, free: 10.12 MB / 0.8073 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.000568/0.00646, allocations: 454.4 kB / 0.843 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.00649, allocations: 12.91 kB / 0.843 GB, free: 9.633 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.006543, allocations: 32.91 kB / 0.8431 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.006738, allocations: 181.5 kB / 0.8433 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.006759, allocations: 16.66 kB / 0.8433 GB, free: 9.383 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.006787, allocations: 20.38 kB / 0.8433 GB, free: 9.363 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.006967, allocations: 154.1 kB / 0.8434 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.006975, allocations: 192 / 0.8434 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.00699, allocations: 8.375 kB / 0.8434 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.006998, allocations: 7.938 kB / 0.8434 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.618e-05/0.007094, allocations: 68.92 kB / 0.8435 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.007544, allocations: 347.7 kB / 0.8438 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.007711, allocations: 102.5 kB / 0.8439 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.007757, allocations: 40.83 kB / 0.844 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.007771, allocations: 3.906 kB / 0.844 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.007924, allocations: 163.1 kB / 0.8441 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=25): time 1.302e-06/0.007925, allocations: 4 kB / 0.8441 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of matching and sorting (n=25): time 0.0002201/0.008145, allocations: 161 kB / 0.8443 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.008186, allocations: 63.33 kB / 0.8444 GB, free: 8.203 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.563e-05/0.008282, allocations: 171.5 kB / 0.8445 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.00831, allocations: 41.69 kB / 0.8446 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.008359, allocations: 116.6 kB / 0.8447 GB, free: 7.855 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.008398, allocations: 67.52 kB / 0.8447 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.008469, allocations: 77.62 kB / 0.8448 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.739e-05/0.008546, allocations: 326.8 kB / 0.8451 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.861e-05/0.008615, allocations: 69.67 kB / 0.8452 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.222e-05/0.008707, allocations: 151.4 kB / 0.8453 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.008827, allocations: 148.9 kB / 0.8455 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.008829, allocations: 0 / 0.8455 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0001996/0.009029, allocations: 241.1 kB / 0.8457 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.009058, allocations: 41.69 kB / 0.8457 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.009062, allocations: 0 / 0.8457 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.009075, allocations: 7.938 kB / 0.8458 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.009147, allocations: 27.92 kB / 0.8458 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.009152, allocations: 12.03 kB / 0.8458 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.009254, allocations: 39.86 kB / 0.8458 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.009268, allocations: 8 kB / 0.8458 GB, free: 6.57 MB / 0.8073 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 9.418e-05/0.009362, allocations: 145.8 kB / 0.846 GB, free: 6.418 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.009385, allocations: 19.98 kB / 0.846 GB, free: 6.398 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.009538, allocations: 139.5 kB / 0.8461 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.009542, allocations: 11.94 kB / 0.8461 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.009544, allocations: 0 / 0.8461 GB, free: 6.246 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.009548, allocations: 3.984 kB / 0.8461 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.009867, allocations: 357.2 kB / 0.8465 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.009869, allocations: 0 / 0.8465 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.009906, allocations: 11.98 kB / 0.8465 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.009909, allocations: 3.984 kB / 0.8465 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.009921, allocations: 15.92 kB / 0.8465 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.009922, allocations: 0 / 0.8465 GB, free: 5.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.009924, allocations: 4 kB / 0.8465 GB, free: 5.836 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.01008, allocations: 239.9 kB / 0.8467 GB, free: 5.59 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.0101, allocations: 15.84 kB / 0.8468 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.01013, allocations: 19.92 kB / 0.8468 GB, free: 5.555 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.516e-05/0.01019, allocations: 15.98 kB / 0.8468 GB, free: 5.539 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.01024, allocations: 23.95 kB / 0.8468 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.01025, allocations: 11.98 kB / 0.8468 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.779e-05/0.01029, allocations: 46.31 kB / 0.8469 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01029, allocations: 0 / 0.8469 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001832/0.01048, allocations: 63.89 kB / 0.8469 GB, free: 5.395 MB / 0.8073 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.0001235/0.0106, allocations: 106.3 kB / 0.847 GB, free: 5.281 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.01082, allocations: 245.9 kB / 0.8473 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.01083, allocations: 0 / 0.8473 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/0.0109, allocations: 64.78 kB / 0.8473 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.01109, allocations: 56 kB / 0.8474 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.01153, allocations: 340.9 kB / 0.8477 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.669e-05/0.01158, allocations: 76.33 kB / 0.8478 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 6.105e-05/0.01164, allocations: 29.94 kB / 0.8478 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.01177, allocations: 103.3 kB / 0.8479 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of SimCode: time 4.1e-07/0.01177, allocations: 0 / 0.8479 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of Templates: time 0.005473/0.01724, allocations: 3.839 MB / 0.8517 GB, free: 0.5586 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.VariablePulseMinHold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.473972571082413]