Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.815/1.815, allocations: 306.1 MB / 321.4 MB, free: 10.72 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.001108/0.001108, allocations: 179.4 kB / 393.1 MB, free: 4.074 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.749/1.749, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0008782/0.0008782, allocations: 99.52 kB / 0.7935 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003966, allocations: 12 kB / 0.9224 GB, free: 8.637 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7494/0.7498, allocations: 121.3 MB / 1.041 GB, free: 58.74 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001272/0.7511, allocations: 0.6571 MB / 1.042 GB, free: 58.36 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.7532, allocations: 1.857 MB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.479e-05/0.7533, allocations: 1.406 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.397e-05/0.7534, allocations: 9.984 kB / 1.043 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.7535, allocations: 39.44 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.7546, allocations: 423.8 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.755, allocations: 420.8 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.7551, allocations: 51.78 kB / 1.044 GB, free: 56.37 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.7553, allocations: 143 kB / 1.044 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.7555, allocations: 122.8 kB / 1.045 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.113e-05/0.7556, allocations: 16.03 kB / 1.045 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.7557, allocations: 35.64 kB / 1.045 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.7557, allocations: 25.38 kB / 1.045 GB, free: 56.25 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.7559, allocations: 169.6 kB / 1.045 GB, free: 56.15 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000498/0.7564, allocations: 458.3 kB / 1.045 GB, free: 56.05 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7564, allocations: 0 / 1.045 GB, free: 56.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.985e-06/0.7565, allocations: 0.7031 kB / 1.045 GB, free: 56.05 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.7565, allocations: 0 / 1.045 GB, free: 56.05 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006638/0.7571, allocations: 0.5643 MB / 1.046 GB, free: 55.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.7572, allocations: 10.25 kB / 1.046 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.919e-05/0.7573, allocations: 36.3 kB / 1.046 GB, free: 55.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.7575, allocations: 222.2 kB / 1.046 GB, free: 55.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.7575, allocations: 15.88 kB / 1.046 GB, free: 55.24 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/0.7576, allocations: 27.91 kB / 1.046 GB, free: 55.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.7578, allocations: 122.5 kB / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.7578, allocations: 9.469 kB / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.7578, allocations: 4.969 kB / 1.046 GB, free: 55.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.7579, allocations: 5.469 kB / 1.046 GB, free: 55.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.758, allocations: 48.55 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000946/0.7589, allocations: 0.8755 MB / 1.047 GB, free: 54.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/0.7591, allocations: 125.9 kB / 1.047 GB, free: 54.31 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.787e-05/0.7592, allocations: 48.33 kB / 1.047 GB, free: 54.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.7592, allocations: 6.281 kB / 1.047 GB, free: 54.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002771/0.7595, allocations: 170.6 kB / 1.047 GB, free: 54.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.7595, allocations: 2.719 kB / 1.047 GB, free: 54.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0004395/0.7599, allocations: 225 kB / 1.048 GB, free: 54.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.76, allocations: 141.1 kB / 1.048 GB, free: 53.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.7602, allocations: 236.3 kB / 1.048 GB, free: 53.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.7603, allocations: 38.36 kB / 1.048 GB, free: 53.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.891e-05/0.7604, allocations: 128.4 kB / 1.048 GB, free: 53.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.7604, allocations: 34.56 kB / 1.048 GB, free: 53.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.7605, allocations: 14.94 kB / 1.048 GB, free: 53.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.7606, allocations: 331.5 kB / 1.048 GB, free: 53.25 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.7609, allocations: 146.7 kB / 1.049 GB, free: 53.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.7612, allocations: 227.1 kB / 1.049 GB, free: 53.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003738/0.7616, allocations: 362.9 kB / 1.049 GB, free: 52.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7616, allocations: 3.938 kB / 1.049 GB, free: 52.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008368/0.7624, allocations: 0.5499 MB / 1.05 GB, free: 52.41 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.542e-05/0.7625, allocations: 139.5 kB / 1.05 GB, free: 52.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.7625, allocations: 6.438 kB / 1.05 GB, free: 52.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.7626, allocations: 5.281 kB / 1.05 GB, free: 52.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.7627, allocations: 16.62 kB / 1.05 GB, free: 52.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.7627, allocations: 8.375 kB / 1.05 GB, free: 52.25 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006932/0.7634, allocations: 158 kB / 1.05 GB, free: 52.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/0.7634, allocations: 26.45 kB / 1.05 GB, free: 52.23 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001473/0.7636, allocations: 149.1 kB / 1.05 GB, free: 52.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.7636, allocations: 21.81 kB / 1.05 GB, free: 52.09 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.478e-05/0.7637, allocations: 19.08 kB / 1.05 GB, free: 52.08 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.7637, allocations: 9.812 kB / 1.05 GB, free: 52.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.7637, allocations: 3.938 kB / 1.05 GB, free: 52.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.7637, allocations: 2.297 kB / 1.05 GB, free: 52.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.764, allocations: 257.5 kB / 1.051 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.764, allocations: 0 / 1.051 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.764, allocations: 13.38 kB / 1.051 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.764, allocations: 3.5 kB / 1.051 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.7641, allocations: 9.359 kB / 1.051 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-06/0.7641, allocations: 4 kB / 1.051 GB, free: 51.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.7641, allocations: 9.719 kB / 1.051 GB, free: 51.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.7643, allocations: 218.8 kB / 1.051 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.7644, allocations: 98.2 kB / 1.051 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.002e-05/0.7644, allocations: 5.141 kB / 1.051 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.663e-05/0.7645, allocations: 0.6562 kB / 1.051 GB, free: 51.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.7645, allocations: 25.83 kB / 1.051 GB, free: 51.56 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.7646, allocations: 6.906 kB / 1.051 GB, free: 51.56 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001447/0.7647, allocations: 165.5 kB / 1.051 GB, free: 51.46 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7647, allocations: 0 / 1.051 GB, free: 51.46 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003227/0.7651, allocations: 71.8 kB / 1.051 GB, free: 51.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000206/0.7653, allocations: 119.5 kB / 1.051 GB, free: 51.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007013/0.766, allocations: 0.5228 MB / 1.052 GB, free: 50.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.766, allocations: 0 / 1.052 GB, free: 50.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.7661, allocations: 72.27 kB / 1.052 GB, free: 50.95 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.7666, allocations: 60.86 kB / 1.052 GB, free: 50.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006823/0.7673, allocations: 395.4 kB / 1.052 GB, free: 50.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.7676, allocations: 0.7312 MB / 1.053 GB, free: 49.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.537e-05/0.7677, allocations: 19.53 kB / 1.053 GB, free: 49.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.7677, allocations: 18.97 kB / 1.053 GB, free: 49.93 MB / 0.698 GB Notification: Performance of SimCode: time 2e-07/0.7677, allocations: 0 / 1.053 GB, free: 49.93 MB / 0.698 GB Notification: Performance of Templates: time 0.009427/0.7771, allocations: 4.346 MB / 1.057 GB, free: 49.61 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)