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.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.001978/0.001978, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002401/0.002401, allocations: 208.4 kB / 22.24 MB, free: 5.262 MB / 14.72 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.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.785 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.885/2.885, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] 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.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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 66.08 kB / 1.117 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4163, allocations: 170 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003072/0.4194, allocations: 1.443 MB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000986/0.4204, allocations: 436.8 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/0.4204, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.411e-05/0.4204, allocations: 7.922 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.4205, allocations: 11.94 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.4207, allocations: 19.91 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.4209, allocations: 51.78 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.256e-05/0.421, allocations: 8 kB / 1.285 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.553e-05/0.421, allocations: 27.86 kB / 1.285 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.647e-05/0.4211, allocations: 19.92 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.4211, allocations: 4 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.732e-05/0.4212, allocations: 4 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.597e-05/0.4212, allocations: 3.984 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.4212, allocations: 23.92 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.4214, allocations: 43.77 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4214, allocations: 0 / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4214, allocations: 0 / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.4214, allocations: 0 / 1.285 GB, free: 9.871 MB / 0.9825 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.0007023/0.4221, allocations: 323.9 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.4221, allocations: 8.031 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.488e-05/0.4222, allocations: 4.938 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.4223, allocations: 118.4 kB / 1.285 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.4223, allocations: 8.312 kB / 1.285 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.4223, allocations: 8.359 kB / 1.285 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.4225, allocations: 83.69 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4225, allocations: 0 / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4225, allocations: 8 kB / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.4225, allocations: 0 / 1.286 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.424e-05/0.4226, allocations: 45.69 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.423, allocations: 204.6 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.4231, allocations: 76.14 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.885e-05/0.4232, allocations: 46.67 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.4232, allocations: 0 / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.4234, allocations: 130.8 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.4234, allocations: 0 / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003607/0.4238, allocations: 202.7 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.33e-05/0.4239, allocations: 85.11 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.424, allocations: 109.8 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.424, allocations: 25.7 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.955e-05/0.4241, allocations: 96.03 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.4241, allocations: 23.83 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.4242, allocations: 21.72 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4243, allocations: 318.8 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.275e-05/0.4244, allocations: 41.7 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.972e-05/0.4244, allocations: 68.2 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.4246, allocations: 118 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4246, allocations: 3.938 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000194/0.4247, allocations: 157 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.4248, allocations: 37.69 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4248, allocations: 0 / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.4248, allocations: 384 / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.82e-05/0.4249, allocations: 7.938 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4249, allocations: 0 / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.409e-05/0.4249, allocations: 11.98 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.4249, allocations: 12 kB / 1.287 GB, free: 7.215 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.0001354/0.4251, allocations: 148.8 kB / 1.287 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.738e-05/0.4251, allocations: 11.94 kB / 1.287 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.4251, allocations: 12.36 kB / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4251, allocations: 0 / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4251, allocations: 0 / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.4251, allocations: 0 / 1.287 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004387/0.4256, allocations: 365.5 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-06/0.4256, allocations: 0 / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.014e-05/0.4256, allocations: 4 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.4256, allocations: 11.92 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.4256, allocations: 4 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.4256, allocations: 4.062 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4256, allocations: 0 / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.4259, allocations: 266.8 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.075e-05/0.4259, allocations: 3.938 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.4259, allocations: 4 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.426, allocations: 7.984 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.4261, allocations: 15.92 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.4261, allocations: 4 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.322e-05/0.4261, allocations: 95.27 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4261, allocations: 0 / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002407/0.4264, allocations: 12 kB / 1.288 GB, free: 6.168 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 0.0001448/0.4265, allocations: 103.2 kB / 1.288 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002708/0.4268, allocations: 166.7 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.922e-05/0.4268, allocations: 0 / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.4269, allocations: 109.9 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.4273, allocations: 22.67 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.4277, allocations: 187.5 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.58e-05/0.4278, allocations: 67.34 kB / 1.289 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.4278, allocations: 7.984 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.4278, allocations: 15.38 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4278, allocations: 0 / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of Templates: time 0.003955/0.4318, allocations: 0.9464 MB / 1.29 GB, free: 4.492 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.507435334846377]