Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") translateModel(Buildings.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.528/1.528, allocations: 291.7 MB / 306.8 MB, free: 7.668 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 190.2 kB / 375.4 MB, free: 5.117 MB / 298.7 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.324/1.324, allocations: 225.7 MB / 0.6538 GB, free: 13.62 MB / 490.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.0007393/0.0007393, allocations: 100.7 kB / 0.7699 GB, free: 50.6 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003437, allocations: 8 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5772/0.5775, allocations: 118.1 MB / 1.011 GB, free: 58.2 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Discrete.Examples.BooleanDelay): time 0.001262/0.5789, allocations: 1.145 MB / 1.012 GB, free: 58.17 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005276/0.5794, allocations: 407.3 kB / 1.012 GB, free: 58.13 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.5794, allocations: 0 / 1.012 GB, free: 58.13 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.5795, allocations: 0 / 1.012 GB, free: 58.13 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.007e-05/0.5795, allocations: 8.766 kB / 1.012 GB, free: 58.12 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.5797, allocations: 15.16 kB / 1.012 GB, free: 58.12 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.5797, allocations: 47.39 kB / 1.012 GB, free: 58.11 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.096e-05/0.5798, allocations: 15.72 kB / 1.012 GB, free: 58.11 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.35e-05/0.5799, allocations: 14.59 kB / 1.012 GB, free: 58.11 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.972e-05/0.5799, allocations: 18.84 kB / 1.013 GB, free: 58.11 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.58, allocations: 4.625 kB / 1.013 GB, free: 58.11 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-06/0.58, allocations: 0 / 1.013 GB, free: 58.11 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.58, allocations: 8.953 kB / 1.013 GB, free: 58.11 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.58, allocations: 32.58 kB / 1.013 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.037e-05/0.5801, allocations: 29.95 kB / 1.013 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.5801, allocations: 0.7812 kB / 1.013 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5801, allocations: 0 / 1.013 GB, free: 58.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.5801, allocations: 8.25 kB / 1.013 GB, free: 58.07 MB / 0.7136 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.0004183/0.5805, allocations: 390.2 kB / 1.013 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.5806, allocations: 10.12 kB / 1.013 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.759e-05/0.5806, allocations: 8.25 kB / 1.013 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.529e-05/0.5807, allocations: 171.9 kB / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.5807, allocations: 384 / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.5807, allocations: 3.219 kB / 1.013 GB, free: 57.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.772e-05/0.5808, allocations: 55.14 kB / 1.013 GB, free: 57.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.5808, allocations: 3.938 kB / 1.013 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.5809, allocations: 3.312 kB / 1.013 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.5809, allocations: 2.062 kB / 1.013 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.568e-05/0.5809, allocations: 17.84 kB / 1.013 GB, free: 57.44 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.5812, allocations: 281.3 kB / 1.013 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.555e-05/0.5813, allocations: 40.45 kB / 1.014 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.854e-05/0.5813, allocations: 18.39 kB / 1.014 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.5814, allocations: 3.703 kB / 1.014 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.5815, allocations: 109.1 kB / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.5815, allocations: 1 kB / 1.014 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002164/0.5817, allocations: 140.8 kB / 1.014 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.5818, allocations: 81.95 kB / 1.014 GB, free: 56.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.233e-05/0.5818, allocations: 111 kB / 1.014 GB, free: 56.79 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.5819, allocations: 26.8 kB / 1.014 GB, free: 56.76 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.5819, allocations: 88.38 kB / 1.014 GB, free: 56.68 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.5819, allocations: 20.09 kB / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.5819, allocations: 0 / 1.014 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.994e-05/0.582, allocations: 320.8 kB / 1.014 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.582, allocations: 16.91 kB / 1.014 GB, free: 56.36 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.354e-05/0.582, allocations: 39.14 kB / 1.014 GB, free: 56.33 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.907e-05/0.5821, allocations: 112.4 kB / 1.015 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5821, allocations: 2.875 kB / 1.015 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001144/0.5822, allocations: 122.9 kB / 1.015 GB, free: 56.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.5823, allocations: 37.31 kB / 1.015 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.5823, allocations: 1.594 kB / 1.015 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.5823, allocations: 5.016 kB / 1.015 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.828e-05/0.5824, allocations: 6.406 kB / 1.015 GB, free: 56.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5824, allocations: 4.453 kB / 1.015 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/0.5824, allocations: 10.02 kB / 1.015 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.5825, allocations: 3.094 kB / 1.015 GB, free: 56.13 MB / 0.7136 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 ($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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.447e-05/0.5825, allocations: 154.5 kB / 1.015 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.5825, allocations: 15.44 kB / 1.015 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.047e-05/0.5826, allocations: 4.375 kB / 1.015 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.5826, allocations: 2.969 kB / 1.015 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.5826, allocations: 0 / 1.015 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5826, allocations: 5.297 kB / 1.015 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/0.5829, allocations: 401.3 kB / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.5829, allocations: 0 / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.184e-06/0.5829, allocations: 0 / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.5829, allocations: 3.344 kB / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.5829, allocations: 3.938 kB / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.5829, allocations: 3.656 kB / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.5829, allocations: 0 / 1.015 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001417/0.5831, allocations: 233.5 kB / 1.016 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.968e-05/0.5831, allocations: 87.67 kB / 1.016 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.5831, allocations: 9.219 kB / 1.016 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.46e-05/0.5832, allocations: 11.86 kB / 1.016 GB, free: 55.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.5833, allocations: 11.48 kB / 1.016 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.5833, allocations: 3.719 kB / 1.016 GB, free: 55.37 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.389e-05/0.5833, allocations: 84.94 kB / 1.016 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5833, allocations: 4.531 kB / 1.016 GB, free: 55.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002016/0.5835, allocations: 18.72 kB / 1.016 GB, free: 55.3 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.347e-05/0.5836, allocations: 102.3 kB / 1.016 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.5837, allocations: 123.4 kB / 1.016 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.5837, allocations: 1.719 kB / 1.016 GB, free: 55.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.535e-05/0.5838, allocations: 86.12 kB / 1.016 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.584, allocations: 18.59 kB / 1.016 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.5843, allocations: 163.6 kB / 1.016 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.263e-05/0.5844, allocations: 0.6857 MB / 1.017 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.823e-05/0.5844, allocations: 5.844 kB / 1.017 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.5844, allocations: 10.25 kB / 1.017 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.5845, allocations: 0 / 1.017 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.002279/0.5867, allocations: 0.7415 MB / 1.018 GB, free: 54.23 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & ./Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)