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.00197/0.00197, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002166/0.002166, allocations: 160.5 kB / 22.46 MB, free: 5.375 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.499/1.499, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.714/2.714, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.9509 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.349e-05, allocations: 6.281 kB / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003441/0.003474, allocations: 1.438 MB / 0.9523 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.004502, allocations: 451.4 kB / 0.9528 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.004559, allocations: 0 / 0.9528 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.499e-05/0.004594, allocations: 3.938 kB / 0.9528 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.004724, allocations: 19.84 kB / 0.9528 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.004921, allocations: 15.98 kB / 0.9528 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.005068, allocations: 47.8 kB / 0.9528 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.005185, allocations: 4 kB / 0.9528 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.005294, allocations: 35.89 kB / 0.9529 GB, free: 9.605 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.86e-05/0.005392, allocations: 19.92 kB / 0.9529 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.005421, allocations: 4 kB / 0.9529 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.005437, allocations: 4 kB / 0.9529 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.00547, allocations: 7.984 kB / 0.9529 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.005524, allocations: 11.94 kB / 0.9529 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.005693, allocations: 43.88 kB / 0.953 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.005698, allocations: 4 kB / 0.953 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/0.0057, allocations: 0 / 0.953 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.005708, allocations: 3.938 kB / 0.953 GB, free: 9.508 MB / 0.8575 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.00079/0.006498, allocations: 323.9 kB / 0.9533 GB, free: 9.156 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.006557, allocations: 12.03 kB / 0.9533 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.006608, allocations: 4.938 kB / 0.9533 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.006758, allocations: 125.6 kB / 0.9534 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.006774, allocations: 384 / 0.9534 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.006788, allocations: 4.375 kB / 0.9534 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.006953, allocations: 79.94 kB / 0.9535 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.006963, allocations: 192 / 0.9535 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.006975, allocations: 384 / 0.9535 GB, free: 8.898 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.006984, allocations: 7.875 kB / 0.9535 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.279e-05/0.007067, allocations: 45.69 kB / 0.9536 GB, free: 8.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.0075, allocations: 208.6 kB / 0.9537 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.007621, allocations: 68.2 kB / 0.9538 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.00768, allocations: 42.69 kB / 0.9539 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.007709, allocations: 7.984 kB / 0.9539 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.007952, allocations: 130.7 kB / 0.954 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.442e-06/0.007953, allocations: 0 / 0.954 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0003624/0.008316, allocations: 198.8 kB / 0.9542 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.928e-05/0.008395, allocations: 89.09 kB / 0.9543 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.008518, allocations: 117.9 kB / 0.9544 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.008546, allocations: 33.7 kB / 0.9544 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.573e-05/0.008601, allocations: 80.14 kB / 0.9545 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.008624, allocations: 15.91 kB / 0.9545 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.008674, allocations: 29.7 kB / 0.9545 GB, free: 7.691 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.008812, allocations: 318.8 kB / 0.9548 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.008871, allocations: 49.69 kB / 0.9549 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.793e-05/0.008939, allocations: 64.27 kB / 0.9549 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.009059, allocations: 110 kB / 0.955 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.009061, allocations: 4.312 kB / 0.955 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001833/0.009244, allocations: 160.9 kB / 0.9552 GB, free: 6.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.72e-05/0.009281, allocations: 33.7 kB / 0.9552 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.009289, allocations: 3.984 kB / 0.9552 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.009306, allocations: 3.938 kB / 0.9552 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.85e-05/0.009354, allocations: 4 kB / 0.9552 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.009361, allocations: 0 / 0.9552 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/0.009427, allocations: 11.94 kB / 0.9553 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.009441, allocations: 8.062 kB / 0.9553 GB, free: 6.859 MB / 0.8575 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.0001174/0.009558, allocations: 151.6 kB / 0.9554 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.009579, allocations: 19.88 kB / 0.9554 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.009607, allocations: 8.438 kB / 0.9554 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.00961, allocations: 4 kB / 0.9554 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.009616, allocations: 0 / 0.9554 GB, free: 6.664 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.009619, allocations: 3.938 kB / 0.9554 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.01004, allocations: 369.5 kB / 0.9558 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01004, allocations: 0 / 0.9558 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-06/0.01005, allocations: 3.938 kB / 0.9558 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.01005, allocations: 0 / 0.9558 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.01007, allocations: 4 kB / 0.9558 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01007, allocations: 4 kB / 0.9558 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01007, allocations: 0 / 0.9558 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.01034, allocations: 270.8 kB / 0.9561 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.01036, allocations: 7.891 kB / 0.9561 GB, free: 5.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.01038, allocations: 4 kB / 0.9561 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.01048, allocations: 7.984 kB / 0.9561 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.316e-05/0.01054, allocations: 11.98 kB / 0.9561 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.01056, allocations: 4 kB / 0.9561 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.685e-05/0.01062, allocations: 83.28 kB / 0.9562 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.01062, allocations: 0 / 0.9562 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002379/0.01086, allocations: 16 kB / 0.9562 GB, free: 5.812 MB / 0.8575 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.0001367/0.01099, allocations: 107.2 kB / 0.9563 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.01123, allocations: 166.7 kB / 0.9565 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01123, allocations: 3.938 kB / 0.9565 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.01135, allocations: 109.1 kB / 0.9566 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.01167, allocations: 18.12 kB / 0.9566 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.01215, allocations: 184.5 kB / 0.9568 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.43e-05/0.01224, allocations: 75.47 kB / 0.9568 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.036e-05/0.01228, allocations: 7.781 kB / 0.9568 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.01231, allocations: 12.5 kB / 0.9568 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of SimCode: time 6.91e-07/0.01231, allocations: 0 / 0.9568 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of Templates: time 0.004013/0.01633, allocations: 0.9356 MB / 0.9578 GB, free: 4.133 MB / 0.8575 GB " [Timeout remaining time 300] 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: 7.9228839837014675]