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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|del.u|del.y",fileNamePrefix="Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001717, allocations: 107.5 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 197.7 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.752/2.752, allocations: 469.8 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 65.38 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3699, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.002985/0.373, allocations: 1.494 MB / 1.066 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0007983/0.3738, allocations: 435 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.3739, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.3739, allocations: 0 / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.425e-05/0.374, allocations: 11.91 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001548/0.3742, allocations: 12 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.3743, allocations: 51.84 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.3744, allocations: 4 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.29e-05/0.3745, allocations: 27.84 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.523e-05/0.3745, allocations: 23.92 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.3746, allocations: 4 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.297e-05/0.3746, allocations: 4 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.3746, allocations: 11.92 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.3747, allocations: 19.94 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.089e-05/0.3748, allocations: 35.88 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3748, allocations: 0 / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3748, allocations: 0 / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.3748, allocations: 0 / 1.066 GB, free: 13 MB / 0.8419 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.0007011/0.3755, allocations: 393.4 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3755, allocations: 8.031 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.3756, allocations: 8.844 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.3758, allocations: 168.3 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.3758, allocations: 8.312 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.3758, allocations: 8.359 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.3759, allocations: 50 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3759, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.376, allocations: 0 / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.376, allocations: 4 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.433e-05/0.376, allocations: 27.97 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.3765, allocations: 272.8 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.88e-05/0.3766, allocations: 42.5 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.921e-05/0.3767, allocations: 20.98 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.3767, allocations: 4 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.3769, allocations: 109.1 kB / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.3769, allocations: 0 / 1.067 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0002883/0.3772, allocations: 139.2 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.57e-05/0.3773, allocations: 85.11 kB / 1.067 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.3774, allocations: 109.8 kB / 1.068 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.3774, allocations: 25.7 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.326e-05/0.3775, allocations: 84.14 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.3775, allocations: 19.81 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.3775, allocations: 25.7 kB / 1.068 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.3777, allocations: 326.8 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/0.3777, allocations: 12 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.689e-05/0.3778, allocations: 42.5 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.3779, allocations: 114 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.3779, allocations: 0 / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001679/0.3781, allocations: 127.2 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/0.3782, allocations: 37.7 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3782, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3782, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.722e-05/0.3782, allocations: 7.938 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3782, allocations: 400 / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.3783, allocations: 15.92 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.3783, allocations: 4.062 kB / 1.068 GB, free: 10.45 MB / 0.8419 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.0001252/0.3785, allocations: 151.5 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.707e-05/0.3785, allocations: 7.906 kB / 1.069 GB, free: 10.28 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.3785, allocations: 12.38 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3785, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3785, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3785, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.379, allocations: 404.5 kB / 1.069 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.379, allocations: 3.938 kB / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.454e-06/0.379, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.686e-06/0.379, allocations: 0 / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.3791, allocations: 11.92 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3791, allocations: 80 / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3791, allocations: 3.984 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.3793, allocations: 233.1 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.3794, allocations: 77.11 kB / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.3794, allocations: 8 kB / 1.069 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3795, allocations: 7.984 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.3796, allocations: 15.98 kB / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.3796, allocations: 11.94 kB / 1.069 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.611e-05/0.3797, allocations: 87.28 kB / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3797, allocations: 0 / 1.069 GB, free: 9.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002336/0.3799, allocations: 12 kB / 1.069 GB, free: 9.309 MB / 0.8419 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.0001239/0.3801, allocations: 109.7 kB / 1.069 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.3803, allocations: 115.3 kB / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3803, allocations: 0 / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3804, allocations: 87.39 kB / 1.07 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.3807, allocations: 17.95 kB / 1.07 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/0.3811, allocations: 199.3 kB / 1.07 GB, free: 8.73 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.3815, allocations: 0.6923 MB / 1.071 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.067e-05/0.3815, allocations: 11.44 kB / 1.071 GB, free: 8 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3816, allocations: 0 / 1.071 GB, free: 8 MB / 0.8419 GB Notification: Performance of Templates: time 0.002781/0.3843, allocations: 0.899 MB / 1.071 GB, free: 7.109 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Discrete.Examples.BooleanDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches