Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.759/1.759, allocations: 306.1 MB / 321.4 MB, free: 10.77 MB / 250.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.001464/0.001464, allocations: 183.5 kB / 393.1 MB, free: 4.086 MB / 314.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.519/1.519, allocations: 225.7 MB / 0.6743 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 92.12 kB / 0.7935 GB, free: 40.23 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004259, allocations: 12 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8493/0.8498, allocations: 121.3 MB / 1.041 GB, free: 59.13 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001024/0.8509, allocations: 450.7 kB / 1.041 GB, free: 58.89 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.8524, allocations: 1.278 MB / 1.043 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.8525, allocations: 1.094 kB / 1.043 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.951e-05/0.8525, allocations: 7.125 kB / 1.043 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.728e-05/0.8526, allocations: 9.375 kB / 1.043 GB, free: 57.87 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.8531, allocations: 122 kB / 1.043 GB, free: 57.81 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.8532, allocations: 106.9 kB / 1.043 GB, free: 57.76 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.8533, allocations: 12.75 kB / 1.043 GB, free: 57.76 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.862e-05/0.8534, allocations: 40.84 kB / 1.043 GB, free: 57.74 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.975e-05/0.8535, allocations: 32.89 kB / 1.043 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.8535, allocations: 6.875 kB / 1.043 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.813e-05/0.8536, allocations: 11.75 kB / 1.043 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.8537, allocations: 6.094 kB / 1.043 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.938e-05/0.8537, allocations: 66.67 kB / 1.043 GB, free: 57.67 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.8539, allocations: 121.6 kB / 1.043 GB, free: 57.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.854, allocations: 0 / 1.043 GB, free: 57.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.265e-06/0.854, allocations: 0 / 1.043 GB, free: 57.64 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.854, allocations: 0 / 1.043 GB, free: 57.64 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004186/0.8544, allocations: 382.9 kB / 1.043 GB, free: 57.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.8544, allocations: 10.84 kB / 1.043 GB, free: 57.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.8545, allocations: 5.594 kB / 1.043 GB, free: 57.24 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.8546, allocations: 180.4 kB / 1.044 GB, free: 57.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.8547, allocations: 1.156 kB / 1.044 GB, free: 57.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.8547, allocations: 10.28 kB / 1.044 GB, free: 57.03 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.52e-05/0.8548, allocations: 43.69 kB / 1.044 GB, free: 57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.8548, allocations: 192 / 1.044 GB, free: 57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.8548, allocations: 3.938 kB / 1.044 GB, free: 56.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.8548, allocations: 0 / 1.044 GB, free: 56.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.552e-05/0.8549, allocations: 17.41 kB / 1.044 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.8553, allocations: 329.5 kB / 1.044 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.399e-05/0.8554, allocations: 30.36 kB / 1.044 GB, free: 56.65 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.626e-05/0.8554, allocations: 19.2 kB / 1.044 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.8554, allocations: 0 / 1.044 GB, free: 56.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.8556, allocations: 63.89 kB / 1.044 GB, free: 56.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.826e-06/0.8556, allocations: 2.219 kB / 1.044 GB, free: 56.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001971/0.8558, allocations: 67.84 kB / 1.044 GB, free: 56.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.8558, allocations: 62.14 kB / 1.044 GB, free: 56.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.565e-05/0.8559, allocations: 124 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.856, allocations: 31.67 kB / 1.044 GB, free: 56.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5e-05/0.856, allocations: 91.77 kB / 1.045 GB, free: 56.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.428e-05/0.856, allocations: 19.92 kB / 1.045 GB, free: 56.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.8561, allocations: 0 / 1.045 GB, free: 56.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.8561, allocations: 320.1 kB / 1.045 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.21e-05/0.8562, allocations: 41.89 kB / 1.045 GB, free: 55.89 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.999e-05/0.8563, allocations: 54.33 kB / 1.045 GB, free: 55.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.8564, allocations: 93.08 kB / 1.045 GB, free: 55.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8564, allocations: 0 / 1.045 GB, free: 55.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000246/0.8567, allocations: 168.9 kB / 1.045 GB, free: 55.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.8567, allocations: 41.42 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8567, allocations: 1.656 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.8568, allocations: 2.844 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.488e-05/0.8568, allocations: 2.312 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8568, allocations: 1.172 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000224/0.8571, allocations: 40.22 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.8571, allocations: 8.453 kB / 1.045 GB, free: 55.63 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 7.245e-05/0.8572, allocations: 120.3 kB / 1.045 GB, free: 55.51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.8572, allocations: 7.938 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.8572, allocations: 9.312 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.8572, allocations: 4.875 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8572, allocations: 0.9375 kB / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8572, allocations: 0 / 1.045 GB, free: 55.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.84e-05/0.8574, allocations: 181.8 kB / 1.046 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.8574, allocations: 0 / 1.046 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.525e-05/0.8574, allocations: 4.312 kB / 1.046 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.8574, allocations: 0 / 1.046 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.8574, allocations: 2.156 kB / 1.046 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.8574, allocations: 7.156 kB / 1.046 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.8574, allocations: 0 / 1.046 GB, free: 55.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.8575, allocations: 87.77 kB / 1.046 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.027e-05/0.8576, allocations: 88.27 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.8576, allocations: 4 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.267e-05/0.8576, allocations: 0.5156 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.48e-05/0.8577, allocations: 4.922 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.8577, allocations: 3.781 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.014e-05/0.8577, allocations: 98.33 kB / 1.046 GB, free: 55.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8577, allocations: 1.062 kB / 1.046 GB, free: 55.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001986/0.8579, allocations: 22.12 kB / 1.046 GB, free: 55.02 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001626/0.8581, allocations: 111.9 kB / 1.046 GB, free: 54.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.8583, allocations: 136.9 kB / 1.046 GB, free: 54.83 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8583, allocations: 0 / 1.046 GB, free: 54.83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.342e-05/0.8584, allocations: 17.42 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.8586, allocations: 22.12 kB / 1.046 GB, free: 54.81 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.8589, allocations: 164.9 kB / 1.046 GB, free: 54.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.859, allocations: 0.6836 MB / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.859, allocations: 5.766 kB / 1.047 GB, free: 53.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.8591, allocations: 11.38 kB / 1.047 GB, free: 53.97 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.8591, allocations: 0 / 1.047 GB, free: 53.97 MB / 0.698 GB Notification: Performance of Templates: time 0.003531/0.8626, allocations: 1.286 MB / 1.048 GB, free: 53.86 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)