Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001103/0.001103, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001218/0.001218, allocations: 161 kB / 24.17 MB, free: 332 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 0.9857/0.9857, allocations: 177.2 MB / 204.6 MB, free: 5.488 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 1.975/1.975, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] 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.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096e-05/1.206e-05, allocations: 2.312 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001799/0.001811, allocations: 1.541 MB / 0.7615 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006109/0.002422, allocations: 469.4 kB / 0.762 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.002455, allocations: 0 / 0.762 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.00248, allocations: 4.969 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.289e-05/0.002553, allocations: 7.828 kB / 0.762 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.00268, allocations: 24.53 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.641e-05/0.002776, allocations: 54.91 kB / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.38e-05/0.00284, allocations: 5.781 kB / 0.7621 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.566e-05/0.002916, allocations: 38.8 kB / 0.7621 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.555e-05/0.002971, allocations: 12.47 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.002988, allocations: 4 kB / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.007e-06/0.002997, allocations: 5.062 kB / 0.7621 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.677e-05/0.003014, allocations: 7.938 kB / 0.7621 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.003044, allocations: 19.92 kB / 0.7621 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.644e-05/0.00313, allocations: 34.02 kB / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.003132, allocations: 0 / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003132, allocations: 0 / 0.7622 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.003135, allocations: 0 / 0.7622 GB, free: 4.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003466/0.003482, allocations: 291.3 kB / 0.7624 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.003509, allocations: 8.031 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.003535, allocations: 9.625 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.185e-05/0.003607, allocations: 113.8 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.003616, allocations: 0.875 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-06/0.003622, allocations: 6.469 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.999e-05/0.003702, allocations: 83.86 kB / 0.7627 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.003709, allocations: 192 / 0.7627 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.003715, allocations: 384 / 0.7627 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.00372, allocations: 3.938 kB / 0.7627 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.754e-05/0.003748, allocations: 37.69 kB / 0.7627 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002052/0.003953, allocations: 157.7 kB / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.863e-05/0.004002, allocations: 56.33 kB / 0.7629 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.004025, allocations: 38.56 kB / 0.7629 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.004036, allocations: 9.172 kB / 0.7629 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.601e-05/0.004132, allocations: 126.9 kB / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 8.92e-07/0.004133, allocations: 0 / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001332/0.004266, allocations: 159.6 kB / 0.7632 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.004306, allocations: 89.08 kB / 0.7633 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.38e-05/0.00436, allocations: 113 kB / 0.7634 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.004372, allocations: 29.7 kB / 0.7634 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.572e-05/0.004397, allocations: 84.14 kB / 0.7635 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.004411, allocations: 15.89 kB / 0.7635 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.004441, allocations: 29.69 kB / 0.7636 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.004509, allocations: 314.8 kB / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.00453, allocations: 40.44 kB / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.118e-05/0.004561, allocations: 60.27 kB / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.667e-05/0.004617, allocations: 110.2 kB / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00462, allocations: 0 / 0.7641 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.945e-05/0.004709, allocations: 125.1 kB / 0.7642 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.004736, allocations: 37.36 kB / 0.7642 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.004743, allocations: 11.92 kB / 0.7642 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.004756, allocations: 0 / 0.7642 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.448e-05/0.00479, allocations: 11.94 kB / 0.7642 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.004794, allocations: 0.9375 kB / 0.7642 GB, free: 2.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.004826, allocations: 11.89 kB / 0.7643 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.004833, allocations: 8.938 kB / 0.7643 GB, free: 2.035 MB / 0.7136 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.566e-05/0.004909, allocations: 139.5 kB / 0.7644 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.434e-05/0.004923, allocations: 12.5 kB / 0.7644 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.022e-05/0.004943, allocations: 11.81 kB / 0.7644 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.004948, allocations: 7.984 kB / 0.7644 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.00495, allocations: 0 / 0.7644 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.004954, allocations: 0 / 0.7644 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.00516, allocations: 274.2 kB / 0.7647 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.00516, allocations: 0 / 0.7647 GB, free: 1.551 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.843e-06/0.005167, allocations: 4 kB / 0.7647 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.00517, allocations: 3.938 kB / 0.7647 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.005177, allocations: 4 kB / 0.7647 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.005178, allocations: 2.5 kB / 0.7647 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.00518, allocations: 4 kB / 0.7647 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.005287, allocations: 218.8 kB / 0.7649 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.005297, allocations: 15.89 kB / 0.7649 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.005312, allocations: 11.94 kB / 0.7649 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.638e-05/0.005359, allocations: 7.984 kB / 0.765 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.005387, allocations: 8.797 kB / 0.765 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.005396, allocations: 0 / 0.765 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.286e-05/0.005409, allocations: 16.84 kB / 0.765 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.005409, allocations: 5.219 kB / 0.765 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001225/0.005531, allocations: 12 kB / 0.765 GB, free: 1.215 MB / 0.7136 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 6.183e-05/0.005593, allocations: 85.16 kB / 0.7651 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.005702, allocations: 159.5 kB / 0.7652 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.005704, allocations: 0 / 0.7652 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.356e-05/0.005757, allocations: 113.9 kB / 0.7653 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.005891, allocations: 16.05 kB / 0.7654 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002073/0.006099, allocations: 182 kB / 0.7655 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.116e-05/0.00613, allocations: 63.34 kB / 0.7656 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.677e-05/0.006146, allocations: 0 / 0.7656 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.016e-05/0.006207, allocations: 67.36 kB / 0.7656 GB, free: 448 kB / 0.7136 GB Notification: Performance of SimCode: time 4.5e-07/0.006207, allocations: 7 kB / 0.7657 GB, free: 444 kB / 0.7136 GB Notification: Performance of Templates: time 0.002177/0.008384, allocations: 0.98 MB / 0.7666 GB, free: 15.51 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 4.991034789010882]