Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 110 kB / 18.94 MB, free: 2.785 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002497/0.002497, allocations: 190.8 kB / 22.23 MB, free: 5.238 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.827/2.827, allocations: 476.7 MB / 0.7646 GB, free: 9.871 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.Discrete.Examples.BooleanDelay") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002986/0.002986, allocations: 67.89 kB / 1.109 GB, free: 6.344 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9277/0.9307, allocations: 168.8 MB / 1.274 GB, free: 4.168 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002912/0.9336, allocations: 1.445 MB / 1.276 GB, free: 2.715 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0008182/0.9344, allocations: 440.5 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.9344, allocations: 0 / 1.276 GB, free: 2.281 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.071e-05/0.9345, allocations: 3.938 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 9.136e-05/0.9346, allocations: 15.92 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.9348, allocations: 23.92 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001412/0.9349, allocations: 51.84 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.144e-05/0.935, allocations: 3.984 kB / 1.276 GB, free: 2.184 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.373e-05/0.9351, allocations: 27.88 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.232e-05/0.9351, allocations: 19.91 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.9352, allocations: 4 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.475e-05/0.9352, allocations: 4 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 2.626e-05/0.9352, allocations: 7.938 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 5.016e-05/0.9352, allocations: 15.94 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001342/0.9354, allocations: 51.47 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.9354, allocations: 4 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 3.086e-06/0.9354, allocations: 3.984 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.64e-06/0.9354, allocations: 0 / 1.276 GB, free: 2.051 MB / 0.9669 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.0006489/0.936, allocations: 318.6 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.9361, allocations: 8.031 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.9361, allocations: 8.891 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.9362, allocations: 110.5 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.9363, allocations: 4.375 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.9363, allocations: 8.312 kB / 1.277 GB, free: 1.547 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.9364, allocations: 57.98 kB / 1.277 GB, free: 1.484 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.9364, allocations: 0 / 1.277 GB, free: 1.484 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.9364, allocations: 0 / 1.277 GB, free: 1.484 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.9364, allocations: 0 / 1.277 GB, free: 1.484 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.669e-05/0.9365, allocations: 19.98 kB / 1.277 GB, free: 1.465 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.9369, allocations: 255.7 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.068e-05/0.937, allocations: 38.58 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.9371, allocations: 20.97 kB / 1.277 GB, free: 1.102 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.9371, allocations: 0 / 1.277 GB, free: 1.102 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.9373, allocations: 93.09 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.9373, allocations: 0 / 1.277 GB, free: 0.9922 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=9): time 0.0003106/0.9376, allocations: 143.3 kB / 1.277 GB, free: 0.8398 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.131e-05/0.9377, allocations: 89.09 kB / 1.277 GB, free: 0.7344 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.227e-05/0.9378, allocations: 113.9 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.9378, allocations: 25.7 kB / 1.278 GB, free: 0.582 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 6.81e-05/0.9379, allocations: 88.14 kB / 1.278 GB, free: 0.4922 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.9379, allocations: 15.91 kB / 1.278 GB, free: 488 kB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.9379, allocations: 29.64 kB / 1.278 GB, free: 452 kB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.000141/0.9381, allocations: 318.8 kB / 1.278 GB, free: 124 kB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.665e-05/0.9381, allocations: 15.98 kB / 1.278 GB, free: 108 kB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.775e-05/0.9382, allocations: 42.56 kB / 1.278 GB, free: 56 kB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.9383, allocations: 113.9 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.9383, allocations: 0 / 1.278 GB, free: 15.92 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001888/0.9385, allocations: 123.3 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 3.961e-05/0.9385, allocations: 39.56 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.9385, allocations: 400 / 1.278 GB, free: 15.75 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.9386, allocations: 8.062 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.549e-05/0.9386, allocations: 4 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.9386, allocations: 384 / 1.278 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.786e-05/0.9387, allocations: 11.94 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.9387, allocations: 4 kB / 1.278 GB, free: 15.72 MB / 0.9825 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 0.0001255/0.9388, allocations: 147.5 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.9388, allocations: 7.938 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.9389, allocations: 12.36 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.9389, allocations: 4 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9389, allocations: 0 / 1.279 GB, free: 15.53 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.9389, allocations: 7.922 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.9394, allocations: 387.2 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.9394, allocations: 3.938 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-06/0.9394, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.9394, allocations: 0 / 1.279 GB, free: 15.09 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.9394, allocations: 8 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.9394, allocations: 0 / 1.279 GB, free: 15.08 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.9394, allocations: 0 / 1.279 GB, free: 15.08 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.9396, allocations: 233.1 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.9396, allocations: 7.938 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.9397, allocations: 4 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.9398, allocations: 8 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.9398, allocations: 11.92 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.9398, allocations: 7.984 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 5.352e-05/0.9399, allocations: 87.27 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.9399, allocations: 4 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002347/0.9401, allocations: 20 kB / 1.279 GB, free: 14.68 MB / 0.9825 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.942e-05/0.9402, allocations: 95.25 kB / 1.279 GB, free: 14.58 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0001918/0.9404, allocations: 111.2 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9404, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 9.601e-05/0.9405, allocations: 83.39 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.9408, allocations: 20.06 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.9411, allocations: 153.4 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.9415, allocations: 0.6923 MB / 1.28 GB, free: 13.45 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 3.724e-05/0.9415, allocations: 4 kB / 1.28 GB, free: 13.45 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.9416, allocations: 11.44 kB / 1.28 GB, free: 13.44 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.61e-07/0.9416, allocations: 0 / 1.28 GB, free: 13.44 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003798/0.9454, allocations: 0.9005 MB / 1.281 GB, free: 12.55 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Discrete_Examples_BooleanDelay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.02153710089624]