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.001314/0.001314, allocations: 111.3 kB / 17.61 MB, free: 4.684 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.001282/0.001282, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.498/1.498, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.846/2.846, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.001988/0.001988, allocations: 71.89 kB / 1.107 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.317/1.319, allocations: 168.7 MB / 1.272 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.003276/1.323, allocations: 1.446 MB / 1.273 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009397/1.324, allocations: 438.1 kB / 1.274 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/1.324, allocations: 4.656 kB / 1.274 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/1.324, allocations: 5.188 kB / 1.274 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/1.324, allocations: 6.609 kB / 1.274 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/1.324, allocations: 27.91 kB / 1.274 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001546/1.324, allocations: 46.41 kB / 1.274 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/1.324, allocations: 12.41 kB / 1.274 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.718e-05/1.324, allocations: 23.94 kB / 1.274 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.486e-05/1.324, allocations: 18.64 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/1.324, allocations: 3.406 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.522e-05/1.324, allocations: 4.469 kB / 1.274 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/1.324, allocations: 10.39 kB / 1.274 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/1.324, allocations: 19.44 kB / 1.274 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/1.325, allocations: 47.86 kB / 1.274 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.325, allocations: 0.625 kB / 1.274 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/1.325, allocations: 4 kB / 1.274 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.753e-06/1.325, allocations: 0.6875 kB / 1.274 GB, free: 6.52 MB / 0.9981 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.0006416/1.325, allocations: 393.2 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/1.325, allocations: 9.625 kB / 1.274 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/1.325, allocations: 8.203 kB / 1.274 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/1.325, allocations: 167.2 kB / 1.275 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/1.326, allocations: 6 kB / 1.275 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/1.326, allocations: 7.5 kB / 1.275 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/1.326, allocations: 55.55 kB / 1.275 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.326, allocations: 0 / 1.275 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/1.326, allocations: 2.547 kB / 1.275 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.326, allocations: 1.094 kB / 1.275 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.248e-05/1.326, allocations: 15.11 kB / 1.275 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/1.326, allocations: 281.9 kB / 1.275 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.324e-05/1.326, allocations: 45.52 kB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/1.326, allocations: 21.47 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/1.326, allocations: 1.438 kB / 1.275 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/1.327, allocations: 97.03 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/1.327, allocations: 0 / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0003323/1.327, allocations: 141 kB / 1.275 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/1.327, allocations: 83.98 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.037e-05/1.327, allocations: 111.6 kB / 1.275 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/1.327, allocations: 28.03 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.149e-05/1.327, allocations: 90.23 kB / 1.275 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/1.327, allocations: 21.94 kB / 1.275 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/1.327, allocations: 22.44 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.563e-05/1.327, allocations: 324.2 kB / 1.276 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/1.327, allocations: 13.47 kB / 1.276 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.12e-05/1.327, allocations: 51.47 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.367e-05/1.327, allocations: 109.6 kB / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.327, allocations: 0.6562 kB / 1.276 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001593/1.328, allocations: 122.6 kB / 1.276 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/1.328, allocations: 40.19 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.328, allocations: 0.6719 kB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.328, allocations: 9.281 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.755e-05/1.328, allocations: 7.562 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.328, allocations: 1.125 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.517e-05/1.328, allocations: 11.55 kB / 1.276 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/1.328, allocations: 2.969 kB / 1.276 GB, free: 4.375 MB / 0.9981 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 8.138e-05/1.328, allocations: 151 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/1.328, allocations: 5.297 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/1.328, allocations: 10.12 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/1.328, allocations: 4.906 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.328, allocations: 0.5938 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.328, allocations: 2.672 kB / 1.276 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/1.328, allocations: 412.8 kB / 1.277 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.328, allocations: 0 / 1.277 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-06/1.328, allocations: 1.812 kB / 1.277 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.328, allocations: 3.938 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/1.328, allocations: 6.688 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.328, allocations: 0 / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.328, allocations: 0.7812 kB / 1.277 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/1.328, allocations: 228.6 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/1.328, allocations: 85.36 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/1.329, allocations: 2.312 kB / 1.277 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/1.329, allocations: 11.61 kB / 1.277 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/1.329, allocations: 18.11 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/1.329, allocations: 3.781 kB / 1.277 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.095e-05/1.329, allocations: 93.12 kB / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/1.329, allocations: 0 / 1.277 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002412/1.329, allocations: 13.5 kB / 1.277 GB, free: 3.434 MB / 0.9981 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.0001365/1.329, allocations: 101.4 kB / 1.277 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000216/1.329, allocations: 111.7 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.329, allocations: 0 / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.541e-05/1.329, allocations: 85.12 kB / 1.277 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/1.33, allocations: 17.94 kB / 1.277 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/1.33, allocations: 157.6 kB / 1.278 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/1.33, allocations: 0.69 MB / 1.278 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.112e-05/1.33, allocations: 6.734 kB / 1.278 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/1.33, allocations: 14.53 kB / 1.278 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.33, allocations: 0 / 1.278 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of Templates: time 0.003967/1.334, allocations: 0.8898 MB / 1.279 GB, free: 2.242 MB / 0.9981 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.5779889812693]