Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 2.05/2.05, allocations: 297.4 MB / 312.6 MB, free: 2.926 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.00101/0.00101, allocations: 190 kB / 382.3 MB, free: 14.82 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.593/1.593, allocations: 225.7 MB / 0.6617 GB, free: 7.203 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.0008735/0.0008734, allocations: 93.06 kB / 0.7789 GB, free: 46.87 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003901, allocations: 12 kB / 0.9059 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7995/0.7999, allocations: 119.2 MB / 1.022 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001355/0.8014, allocations: 0.6584 MB / 1.023 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.8037, allocations: 1.863 MB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/0.8038, allocations: 0.5312 kB / 1.025 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5e-05/0.8038, allocations: 9.281 kB / 1.025 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.804, allocations: 41.38 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.8051, allocations: 423.4 kB / 1.025 GB, free: 55.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.8056, allocations: 422.9 kB / 1.026 GB, free: 55.8 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.8058, allocations: 45.58 kB / 1.026 GB, free: 55.79 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.806, allocations: 142.1 kB / 1.026 GB, free: 55.74 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.8063, allocations: 125.3 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.803e-05/0.8063, allocations: 19.16 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.8065, allocations: 32.83 kB / 1.026 GB, free: 55.68 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.8065, allocations: 25.23 kB / 1.026 GB, free: 55.67 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.8067, allocations: 166.9 kB / 1.026 GB, free: 55.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005935/0.8073, allocations: 460.3 kB / 1.027 GB, free: 55.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.8073, allocations: 0 / 1.027 GB, free: 55.46 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8073, allocations: 0 / 1.027 GB, free: 55.46 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.8074, allocations: 0 / 1.027 GB, free: 55.46 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.0007183/0.8081, allocations: 0.5621 MB / 1.027 GB, free: 54.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.8081, allocations: 9.219 kB / 1.027 GB, free: 54.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.21e-05/0.8082, allocations: 32.59 kB / 1.027 GB, free: 54.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.8084, allocations: 228.4 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.8085, allocations: 15.56 kB / 1.027 GB, free: 54.65 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.8085, allocations: 24.31 kB / 1.027 GB, free: 54.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.8088, allocations: 121.9 kB / 1.028 GB, free: 54.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.8088, allocations: 0.8125 kB / 1.028 GB, free: 54.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.8088, allocations: 8.938 kB / 1.028 GB, free: 54.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.8088, allocations: 6 kB / 1.028 GB, free: 54.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.8089, allocations: 51.78 kB / 1.028 GB, free: 54.53 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009003/0.8098, allocations: 0.8848 MB / 1.028 GB, free: 53.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.81, allocations: 122.3 kB / 1.029 GB, free: 53.72 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.311e-05/0.8101, allocations: 52.48 kB / 1.029 GB, free: 53.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.8101, allocations: 1.812 kB / 1.029 GB, free: 53.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/0.8104, allocations: 172.1 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.8104, allocations: 3.938 kB / 1.029 GB, free: 53.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=16): time 0.0004604/0.8109, allocations: 224.5 kB / 1.029 GB, free: 53.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.811, allocations: 133 kB / 1.029 GB, free: 53.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002462/0.8112, allocations: 239.3 kB / 1.029 GB, free: 53.17 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.8113, allocations: 40.52 kB / 1.029 GB, free: 53.14 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.875e-05/0.8114, allocations: 134.2 kB / 1.03 GB, free: 53.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.029e-05/0.8114, allocations: 31.03 kB / 1.03 GB, free: 53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.8115, allocations: 11.92 kB / 1.03 GB, free: 52.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.118e-05/0.8116, allocations: 333.2 kB / 1.03 GB, free: 52.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.8119, allocations: 147.3 kB / 1.03 GB, free: 52.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.8123, allocations: 228.6 kB / 1.03 GB, free: 52.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.8127, allocations: 358.1 kB / 1.031 GB, free: 52.14 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.8127, allocations: 0.7812 kB / 1.031 GB, free: 52.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009231/0.8136, allocations: 0.5642 MB / 1.031 GB, free: 51.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.67e-05/0.8137, allocations: 138 kB / 1.031 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.8137, allocations: 6.891 kB / 1.031 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.8138, allocations: 3.188 kB / 1.031 GB, free: 51.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/0.8139, allocations: 16.22 kB / 1.031 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.8139, allocations: 5.125 kB / 1.031 GB, free: 51.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007567/0.8146, allocations: 158.2 kB / 1.031 GB, free: 51.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.751e-05/0.8147, allocations: 30.66 kB / 1.031 GB, free: 51.64 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.0001502/0.8149, allocations: 150.4 kB / 1.032 GB, free: 51.51 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.8149, allocations: 17.19 kB / 1.032 GB, free: 51.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.815, allocations: 23.75 kB / 1.032 GB, free: 51.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.815, allocations: 2.406 kB / 1.032 GB, free: 51.49 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.815, allocations: 1.188 kB / 1.032 GB, free: 51.49 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.815, allocations: 6.938 kB / 1.032 GB, free: 51.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.8152, allocations: 258.8 kB / 1.032 GB, free: 51.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.8153, allocations: 1.781 kB / 1.032 GB, free: 51.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.8153, allocations: 16.67 kB / 1.032 GB, free: 51.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.8153, allocations: 2.125 kB / 1.032 GB, free: 51.25 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.8153, allocations: 8.812 kB / 1.032 GB, free: 51.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.8153, allocations: 5.938 kB / 1.032 GB, free: 51.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.8154, allocations: 2.75 kB / 1.032 GB, free: 51.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.8156, allocations: 214.3 kB / 1.032 GB, free: 51.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.8157, allocations: 97.55 kB / 1.032 GB, free: 50.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.8157, allocations: 6.75 kB / 1.032 GB, free: 50.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.996e-05/0.8158, allocations: 9.328 kB / 1.032 GB, free: 50.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.937e-05/0.8159, allocations: 19.34 kB / 1.032 GB, free: 50.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.8159, allocations: 5.5 kB / 1.032 GB, free: 50.98 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001464/0.816, allocations: 166.2 kB / 1.032 GB, free: 50.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.816, allocations: 0.9375 kB / 1.032 GB, free: 50.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003251/0.8164, allocations: 78.14 kB / 1.033 GB, free: 50.86 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.0001969/0.8166, allocations: 118.8 kB / 1.033 GB, free: 50.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006769/0.8173, allocations: 0.5234 MB / 1.033 GB, free: 50.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8173, allocations: 3.812 kB / 1.033 GB, free: 50.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.8174, allocations: 64.41 kB / 1.033 GB, free: 50.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.8178, allocations: 64.05 kB / 1.033 GB, free: 50.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005972/0.8184, allocations: 402.2 kB / 1.034 GB, free: 50.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.8186, allocations: 0.7273 MB / 1.034 GB, free: 49.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.52e-05/0.8187, allocations: 20.42 kB / 1.034 GB, free: 49.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.8187, allocations: 22.66 kB / 1.034 GB, free: 49.34 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/0.8187, allocations: 0 / 1.034 GB, free: 49.34 MB / 0.698 GB Notification: Performance of Templates: time 0.008512/0.8272, allocations: 4.343 MB / 1.039 GB, free: 49.03 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)