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.001029/0.001029, allocations: 80.8 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.001691/0.001691, allocations: 161 kB / 24.16 MB, free: 336 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.9487/0.9487, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.836/1.836, allocations: 377.9 MB / 0.624 GB, free: 8.336 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.553e-06/1.553e-06, allocations: 0.6562 kB / 0.76 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.558e-05, allocations: 2.312 kB / 0.76 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.00189/0.001906, allocations: 1.498 MB / 0.7614 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006444/0.00255, allocations: 466.5 kB / 0.7619 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.876e-05/0.002589, allocations: 4 kB / 0.7619 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.002617, allocations: 3.938 kB / 0.7619 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.078e-05/0.002698, allocations: 11.2 kB / 0.7619 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.002831, allocations: 22.28 kB / 0.7619 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.00294, allocations: 50.47 kB / 0.762 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.881e-05/0.003009, allocations: 8 kB / 0.762 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.029e-05/0.003089, allocations: 34.73 kB / 0.762 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.572e-05/0.003155, allocations: 18.61 kB / 0.762 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.003175, allocations: 4 kB / 0.762 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.003184, allocations: 5.344 kB / 0.762 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.003204, allocations: 3.938 kB / 0.762 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.003235, allocations: 15.98 kB / 0.762 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.07e-05/0.003326, allocations: 33.14 kB / 0.7621 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.003329, allocations: 4 kB / 0.7621 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.51e-07/0.00333, allocations: 4 kB / 0.7621 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.596e-06/0.003334, allocations: 0 / 0.7621 GB, free: 4.582 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.0003646/0.003698, allocations: 287.8 kB / 0.7624 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.00373, allocations: 12.84 kB / 0.7624 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.003756, allocations: 4.938 kB / 0.7624 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.787e-05/0.003833, allocations: 110.3 kB / 0.7625 GB, free: 4.125 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.003842, allocations: 4.312 kB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.003854, allocations: 9.328 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.638e-05/0.00394, allocations: 71.94 kB / 0.7626 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.003949, allocations: 5.156 kB / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.003957, allocations: 384 / 0.7626 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.003965, allocations: 3.938 kB / 0.7626 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.052e-05/0.004005, allocations: 38.91 kB / 0.7626 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002892/0.004295, allocations: 152.2 kB / 0.7628 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.563e-05/0.00437, allocations: 65.77 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.004395, allocations: 42.69 kB / 0.7629 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.004409, allocations: 7.922 kB / 0.7629 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/0.004509, allocations: 122.7 kB / 0.763 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.004511, allocations: 0.6562 kB / 0.763 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001432/0.004654, allocations: 162.6 kB / 0.7631 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.0047, allocations: 85.84 kB / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.908e-05/0.004759, allocations: 114.7 kB / 0.7633 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.00477, allocations: 26.45 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.004798, allocations: 84.14 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.004814, allocations: 21.92 kB / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.004845, allocations: 25.69 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.574e-05/0.004921, allocations: 314.8 kB / 0.7638 GB, free: 2.641 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.179e-05/0.004943, allocations: 41.69 kB / 0.7638 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.004976, allocations: 64.16 kB / 0.7639 GB, free: 2.516 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.069e-05/0.005037, allocations: 104.8 kB / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.005039, allocations: 0 / 0.764 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.811e-05/0.005127, allocations: 129 kB / 0.7641 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.005152, allocations: 33.7 kB / 0.7641 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.005158, allocations: 11.02 kB / 0.7641 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.00517, allocations: 3.938 kB / 0.7641 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.071e-05/0.0052, allocations: 8 kB / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.005203, allocations: 0 / 0.7642 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.426e-05/0.005237, allocations: 7.953 kB / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.005242, allocations: 4 kB / 0.7642 GB, free: 2.18 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 6.899e-05/0.005311, allocations: 147.5 kB / 0.7643 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/0.005322, allocations: 9.5 kB / 0.7643 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.129e-05/0.005343, allocations: 16.36 kB / 0.7643 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005345, allocations: 0 / 0.7643 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.005346, allocations: 0 / 0.7643 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.00535, allocations: 3.25 kB / 0.7643 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.005548, allocations: 282.2 kB / 0.7646 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.005551, allocations: 4 kB / 0.7646 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-06/0.005555, allocations: 3.938 kB / 0.7646 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.005557, allocations: 7.875 kB / 0.7646 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.005563, allocations: 4 kB / 0.7646 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.005565, allocations: 0 / 0.7646 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005566, allocations: 0 / 0.7646 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.005672, allocations: 218.9 kB / 0.7648 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.131e-05/0.005684, allocations: 18.92 kB / 0.7648 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.005699, allocations: 3.938 kB / 0.7649 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.648e-05/0.005745, allocations: 7.984 kB / 0.7649 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.005783, allocations: 11.98 kB / 0.7649 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.005793, allocations: 4 kB / 0.7649 GB, free: 1.379 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.529e-05/0.005809, allocations: 16.78 kB / 0.7649 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005809, allocations: 0 / 0.7649 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001218/0.005931, allocations: 12 kB / 0.7649 GB, free: 1.348 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 9.362e-05/0.006024, allocations: 89.81 kB / 0.765 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.006152, allocations: 152.9 kB / 0.7651 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.006156, allocations: 4 kB / 0.7651 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.638e-05/0.006212, allocations: 105.9 kB / 0.7652 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.006348, allocations: 12.66 kB / 0.7653 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.006606, allocations: 189.9 kB / 0.7654 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.006646, allocations: 60 kB / 0.7655 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.999e-05/0.006666, allocations: 4 kB / 0.7655 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.006731, allocations: 72.52 kB / 0.7656 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of SimCode: time 5.81e-07/0.006731, allocations: 0 / 0.7656 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of Templates: time 0.002395/0.009126, allocations: 0.9717 MB / 0.7665 GB, free: 15.66 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 -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.8947444767691195]