Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008369/0.000837, allocations: 174.8 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4458/0.4458, allocations: 89.07 MB / 105.9 MB, free: 12.44 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 225.7 MB / 353.2 MB, free: 1.094 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007681/0.0007681, allocations: 97.06 kB / 425.4 MB, free: 6.617 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003007/0.0003007, allocations: 12 kB / 0.4955 GB, free: 4.52 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2771, allocations: 71.34 MB / 0.5652 GB, free: 42.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001352/0.2785, allocations: 1.132 MB / 0.5663 GB, free: 41.18 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005452/0.279, allocations: 483 kB / 0.5668 GB, free: 40.69 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.2791, allocations: 0 / 0.5668 GB, free: 40.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.2791, allocations: 8.516 kB / 0.5668 GB, free: 40.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.2792, allocations: 13.44 kB / 0.5668 GB, free: 40.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.2793, allocations: 11.98 kB / 0.5668 GB, free: 40.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.114e-05/0.2794, allocations: 47.8 kB / 0.5668 GB, free: 40.61 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.029e-05/0.2795, allocations: 8.656 kB / 0.5668 GB, free: 40.6 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.614e-05/0.2795, allocations: 19.84 kB / 0.5669 GB, free: 40.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.2796, allocations: 20.58 kB / 0.5669 GB, free: 40.56 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.2796, allocations: 1.438 kB / 0.5669 GB, free: 40.56 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.2796, allocations: 4 kB / 0.5669 GB, free: 40.56 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.2796, allocations: 7.984 kB / 0.5669 GB, free: 40.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.2797, allocations: 45.58 kB / 0.5669 GB, free: 40.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 7.099e-05/0.2798, allocations: 36.95 kB / 0.567 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2798, allocations: 4 kB / 0.567 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2798, allocations: 0 / 0.567 GB, free: 40.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.2798, allocations: 0.7188 kB / 0.567 GB, free: 40.46 MB / 410.7 MB 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.0004358/0.2802, allocations: 397.8 kB / 0.5674 GB, free: 40.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.2803, allocations: 8.031 kB / 0.5674 GB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.654e-05/0.2803, allocations: 4.938 kB / 0.5674 GB, free: 40.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.9e-05/0.2804, allocations: 173.8 kB / 0.5675 GB, free: 39.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.2804, allocations: 4.375 kB / 0.5675 GB, free: 39.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.2804, allocations: 4.375 kB / 0.5675 GB, free: 39.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.119e-05/0.2805, allocations: 61.92 kB / 0.5676 GB, free: 39.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.2805, allocations: 3.938 kB / 0.5676 GB, free: 39.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2805, allocations: 4 kB / 0.5676 GB, free: 39.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2805, allocations: 3.938 kB / 0.5676 GB, free: 39.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.369e-05/0.2806, allocations: 16 kB / 0.5676 GB, free: 39.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.2809, allocations: 272.8 kB / 0.5679 GB, free: 39.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.787e-05/0.2809, allocations: 42.52 kB / 0.5679 GB, free: 39.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.133e-05/0.281, allocations: 24.97 kB / 0.5679 GB, free: 39.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.281, allocations: 4 kB / 0.568 GB, free: 39.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.2811, allocations: 97.16 kB / 0.568 GB, free: 39.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.2812, allocations: 0 / 0.568 GB, free: 39.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002094/0.2814, allocations: 139.2 kB / 0.5682 GB, free: 39.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.2814, allocations: 89.09 kB / 0.5683 GB, free: 38.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.039e-05/0.2815, allocations: 109.8 kB / 0.5684 GB, free: 38.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.2815, allocations: 29.7 kB / 0.5684 GB, free: 38.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.114e-05/0.2815, allocations: 84.14 kB / 0.5685 GB, free: 38.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.2815, allocations: 19.8 kB / 0.5685 GB, free: 38.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.2816, allocations: 0 / 0.5685 GB, free: 38.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.155e-05/0.2816, allocations: 322.8 kB / 0.5688 GB, free: 38.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.72e-05/0.2816, allocations: 12 kB / 0.5688 GB, free: 38.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-05/0.2817, allocations: 42.5 kB / 0.5689 GB, free: 38.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.559e-05/0.2817, allocations: 114 kB / 0.569 GB, free: 38.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2818, allocations: 0 / 0.569 GB, free: 38.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001132/0.2819, allocations: 119.2 kB / 0.5691 GB, free: 38.03 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.2819, allocations: 37.7 kB / 0.5691 GB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2819, allocations: 0 / 0.5691 GB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.2819, allocations: 4 kB / 0.5691 GB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.585e-05/0.282, allocations: 4 kB / 0.5691 GB, free: 37.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.282, allocations: 11.98 kB / 0.5691 GB, free: 37.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.282, allocations: 4 kB / 0.5691 GB, free: 37.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.2821, allocations: 4 kB / 0.5691 GB, free: 37.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 6.556e-05/0.2821, allocations: 153.2 kB / 0.5693 GB, free: 37.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.2821, allocations: 8.281 kB / 0.5693 GB, free: 37.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.2822, allocations: 8.375 kB / 0.5693 GB, free: 37.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2822, allocations: 7.922 kB / 0.5693 GB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.2822, allocations: 8 kB / 0.5693 GB, free: 37.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2822, allocations: 3.938 kB / 0.5693 GB, free: 37.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.2825, allocations: 396.1 kB / 0.5697 GB, free: 37.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2825, allocations: 0 / 0.5697 GB, free: 37.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.106e-06/0.2825, allocations: 7.984 kB / 0.5697 GB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.2825, allocations: 0 / 0.5697 GB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.2825, allocations: 64 / 0.5697 GB, free: 37.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2825, allocations: 8 kB / 0.5697 GB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2825, allocations: 0 / 0.5697 GB, free: 37.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.2827, allocations: 237 kB / 0.5699 GB, free: 37.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.2827, allocations: 88.95 kB / 0.57 GB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.2827, allocations: 0 / 0.57 GB, free: 36.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.659e-05/0.2828, allocations: 11.98 kB / 0.57 GB, free: 36.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.2829, allocations: 15.92 kB / 0.5701 GB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.2829, allocations: 4 kB / 0.5701 GB, free: 36.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.543e-05/0.2829, allocations: 87.83 kB / 0.5701 GB, free: 36.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2829, allocations: 4 kB / 0.5701 GB, free: 36.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001963/0.2831, allocations: 12 kB / 0.5702 GB, free: 36.8 MB / 410.7 MB 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 6.246e-05/0.2832, allocations: 119.1 kB / 0.5703 GB, free: 36.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001282/0.2833, allocations: 111.3 kB / 0.5704 GB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2833, allocations: 0 / 0.5704 GB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.608e-05/0.2834, allocations: 87.62 kB / 0.5705 GB, free: 36.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.2836, allocations: 16.11 kB / 0.5705 GB, free: 36.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002604/0.2839, allocations: 160.8 kB / 0.5706 GB, free: 36.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.664e-05/0.284, allocations: 0.6848 MB / 0.5713 GB, free: 35.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.546e-05/0.284, allocations: 7.938 kB / 0.5713 GB, free: 35.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.2841, allocations: 11.44 kB / 0.5713 GB, free: 35.52 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2841, allocations: 7.938 kB / 0.5713 GB, free: 35.52 MB / 410.7 MB Notification: Performance of Templates: time 0.002325/0.2864, allocations: 0.7661 MB / 0.5721 GB, free: 34.76 MB / 410.7 MB make -j1 -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)