Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.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.001021/0.001021, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.00124/0.00124, allocations: 177 kB / 23.36 MB, free: 1.137 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.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.456/2.456, allocations: 438.8 MB / 0.6826 GB, free: 13.6 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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 4 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.187e-05/2.421e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.00225/0.002275, allocations: 1.533 MB / 0.8401 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006808/0.002955, allocations: 462.8 kB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.002994, allocations: 0 / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.00302, allocations: 3.938 kB / 0.8405 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.508e-05/0.003105, allocations: 7.875 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.003251, allocations: 23.91 kB / 0.8405 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.003353, allocations: 55.72 kB / 0.8406 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.272e-05/0.003436, allocations: 8 kB / 0.8406 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.562e-05/0.003521, allocations: 35.89 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.074e-05/0.003582, allocations: 7.984 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.003602, allocations: 4 kB / 0.8406 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.003611, allocations: 8 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.00363, allocations: 11.94 kB / 0.8407 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.00366, allocations: 11.98 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.003766, allocations: 35.89 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.003769, allocations: 0 / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.242e-06/0.00377, allocations: 0 / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.003774, allocations: 0 / 0.8407 GB, free: 12.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003938/0.004168, allocations: 298.5 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.004201, allocations: 12.62 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.004231, allocations: 8.938 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.922e-05/0.00431, allocations: 117.7 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.004321, allocations: 4.375 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.004331, allocations: 384 / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.301e-05/0.004414, allocations: 75.94 kB / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.004421, allocations: 192 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.004427, allocations: 384 / 0.8412 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.004433, allocations: 3.938 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.134e-05/0.004464, allocations: 41.67 kB / 0.8412 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.004703, allocations: 160.2 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.385e-05/0.004757, allocations: 56.34 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.195e-05/0.004779, allocations: 42.55 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.00479, allocations: 4.062 kB / 0.8415 GB, free: 11.1 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.004896, allocations: 122.8 kB / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.132e-06/0.004897, allocations: 0 / 0.8416 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001547/0.005052, allocations: 158.7 kB / 0.8418 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.524e-05/0.005087, allocations: 85.09 kB / 0.8418 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.785e-05/0.005145, allocations: 118.6 kB / 0.842 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.005157, allocations: 33.69 kB / 0.842 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.686e-05/0.005184, allocations: 80.14 kB / 0.8421 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.005199, allocations: 23.83 kB / 0.8421 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.005232, allocations: 29.69 kB / 0.8421 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.005308, allocations: 318.8 kB / 0.8424 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.00533, allocations: 37.69 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.005364, allocations: 60.27 kB / 0.8425 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.746e-05/0.005421, allocations: 101.9 kB / 0.8426 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005423, allocations: 0 / 0.8426 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.309e-05/0.005516, allocations: 125 kB / 0.8427 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.005544, allocations: 37.77 kB / 0.8428 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.005549, allocations: 3.938 kB / 0.8428 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.005563, allocations: 0 / 0.8428 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.531e-05/0.005598, allocations: 11.98 kB / 0.8428 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-06/0.0056, allocations: 0 / 0.8428 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.852e-05/0.005639, allocations: 8 kB / 0.8428 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.005646, allocations: 4 kB / 0.8428 GB, free: 9.594 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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 7.352e-05/0.00572, allocations: 147.5 kB / 0.8429 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.005731, allocations: 8 kB / 0.8429 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.957e-05/0.005751, allocations: 12.38 kB / 0.843 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.005753, allocations: 8 kB / 0.843 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.005755, allocations: 0 / 0.843 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.00576, allocations: 3.984 kB / 0.843 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.005975, allocations: 282.1 kB / 0.8432 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.005977, allocations: 4 kB / 0.8432 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-06/0.005982, allocations: 0 / 0.8432 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.005986, allocations: 7.875 kB / 0.8433 GB, free: 9.082 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.005994, allocations: 4.062 kB / 0.8433 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.005996, allocations: 4 kB / 0.8433 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005997, allocations: 0 / 0.8433 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.006102, allocations: 231.2 kB / 0.8435 GB, free: 8.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.006112, allocations: 7.938 kB / 0.8435 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.006129, allocations: 7.938 kB / 0.8435 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.359e-05/0.006182, allocations: 7.984 kB / 0.8435 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.006218, allocations: 7.984 kB / 0.8435 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.006231, allocations: 4 kB / 0.8435 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.571e-05/0.006247, allocations: 17.39 kB / 0.8435 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006247, allocations: 0 / 0.8435 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001336/0.00638, allocations: 12 kB / 0.8435 GB, free: 8.754 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: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 7.984e-05/0.00646, allocations: 88.41 kB / 0.8436 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.00659, allocations: 155.6 kB / 0.8438 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.006593, allocations: 0 / 0.8438 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.652e-05/0.006649, allocations: 106.2 kB / 0.8439 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.006816, allocations: 23.88 kB / 0.8439 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.007058, allocations: 182 kB / 0.8441 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.172e-05/0.007089, allocations: 60.84 kB / 0.8441 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.188e-05/0.007111, allocations: 4 kB / 0.8441 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.007176, allocations: 71.48 kB / 0.8442 GB, free: 7.969 MB / 0.8073 GB Notification: Performance of SimCode: time 7.91e-07/0.007177, allocations: 4 kB / 0.8442 GB, free: 7.965 MB / 0.8073 GB Notification: Performance of Templates: time 0.002585/0.009762, allocations: 0.9863 MB / 0.8452 GB, free: 7.004 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Discrete_Examples_BooleanDelay.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.1817744742147624]