Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.314/2.314, allocations: 254.9 MB / 269.9 MB, free: 9.637 MB / 218.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.001395/0.001394, allocations: 196.7 kB / 329.5 MB, free: 1.141 MB / 250.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 2.878/2.878, allocations: 225.6 MB / 0.6001 GB, free: 2.148 MB / 426.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.001003/0.001003, allocations: 106.1 kB / 0.7074 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004784, allocations: 15.81 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2173, allocations: 109.1 MB / 0.9308 GB, free: 25.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001396/0.2187, allocations: 0.9977 MB / 0.9318 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004111/0.2192, allocations: 171.6 kB / 0.9319 GB, free: 23.92 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.2193, allocations: 0 / 0.9319 GB, free: 23.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.2193, allocations: 3.984 kB / 0.9319 GB, free: 23.92 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.702e-05/0.2194, allocations: 3.938 kB / 0.9319 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.2195, allocations: 8 kB / 0.9319 GB, free: 23.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.394e-05/0.2196, allocations: 23.92 kB / 0.932 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.2196, allocations: 3.984 kB / 0.932 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.166e-05/0.2197, allocations: 11.94 kB / 0.932 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.082e-05/0.2198, allocations: 7.984 kB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.2198, allocations: 3.938 kB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.158e-05/0.2198, allocations: 4 kB / 0.932 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.2198, allocations: 3.938 kB / 0.932 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.2199, allocations: 29.64 kB / 0.932 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.897e-05/0.2199, allocations: 15.97 kB / 0.932 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2199, allocations: 0 / 0.932 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.913e-06/0.22, allocations: 4 kB / 0.9321 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.22, allocations: 0 / 0.9321 GB, free: 23.79 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004484/0.2204, allocations: 339.7 kB / 0.9324 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2205, allocations: 8.031 kB / 0.9324 GB, free: 23.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.588e-05/0.2205, allocations: 8.938 kB / 0.9324 GB, free: 23.39 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.2206, allocations: 160.4 kB / 0.9325 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.2207, allocations: 384 / 0.9325 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.2207, allocations: 8.375 kB / 0.9326 GB, free: 23.19 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.581e-05/0.2208, allocations: 34.25 kB / 0.9326 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2208, allocations: 192 / 0.9326 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.2208, allocations: 3.938 kB / 0.9326 GB, free: 23.15 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2208, allocations: 3.938 kB / 0.9326 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.2209, allocations: 8 kB / 0.9326 GB, free: 23.14 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.2211, allocations: 161.6 kB / 0.9328 GB, free: 22.93 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.98e-05/0.2212, allocations: 30.61 kB / 0.9328 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.2212, allocations: 4.859 kB / 0.9328 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.2212, allocations: 4.062 kB / 0.9328 GB, free: 22.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.2214, allocations: 51.34 kB / 0.9328 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.824e-06/0.2214, allocations: 4 kB / 0.9328 GB, free: 22.81 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001934/0.2216, allocations: 57.61 kB / 0.9329 GB, free: 22.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.2216, allocations: 59.39 kB / 0.933 GB, free: 22.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.344e-05/0.2217, allocations: 101.9 kB / 0.9331 GB, free: 22.57 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.2217, allocations: 25.7 kB / 0.9331 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/0.2218, allocations: 84.14 kB / 0.9332 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.2218, allocations: 11.89 kB / 0.9332 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.2218, allocations: 0 / 0.9332 GB, free: 22.44 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.786e-05/0.2219, allocations: 310.8 kB / 0.9335 GB, free: 22.13 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.2219, allocations: 8 kB / 0.9335 GB, free: 22.12 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.222, allocations: 17.66 kB / 0.9335 GB, free: 22.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.986e-05/0.222, allocations: 15.98 kB / 0.9335 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.222, allocations: 3.938 kB / 0.9335 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001368/0.2222, allocations: 45.7 kB / 0.9336 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.2222, allocations: 7.938 kB / 0.9336 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.2222, allocations: 3.984 kB / 0.9336 GB, free: 22.02 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.2223, allocations: 4 kB / 0.9336 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.2224, allocations: 3.938 kB / 0.9336 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.2224, allocations: 0 / 0.9336 GB, free: 22.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.2225, allocations: 12.03 kB / 0.9336 GB, free: 22 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.2226, allocations: 4 kB / 0.9336 GB, free: 21.99 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 8.327e-05/0.2226, allocations: 117.8 kB / 0.9337 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.2227, allocations: 3.938 kB / 0.9337 GB, free: 21.86 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.2227, allocations: 7.5 kB / 0.9337 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.2227, allocations: 0 / 0.9337 GB, free: 21.85 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2228, allocations: 4 kB / 0.9337 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.2228, allocations: 0 / 0.9337 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.2229, allocations: 161.6 kB / 0.9339 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2229, allocations: 4 kB / 0.9339 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-06/0.2229, allocations: 4 kB / 0.9339 GB, free: 21.63 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.223, allocations: 7.922 kB / 0.9339 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.223, allocations: 0 / 0.9339 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.223, allocations: 4 kB / 0.9339 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.223, allocations: 0 / 0.9339 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.2231, allocations: 69.06 kB / 0.934 GB, free: 21.53 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.2232, allocations: 77.11 kB / 0.934 GB, free: 21.44 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.2232, allocations: 7.938 kB / 0.934 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.2233, allocations: 15.98 kB / 0.934 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.2233, allocations: 0.5625 kB / 0.934 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.2234, allocations: 4 kB / 0.9341 GB, free: 21.41 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.624e-05/0.2234, allocations: 83.27 kB / 0.9341 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2234, allocations: 0 / 0.9341 GB, free: 21.33 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002291/0.2237, allocations: 8 kB / 0.9341 GB, free: 21.32 MB / 0.5886 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,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 0.0001151/0.2238, allocations: 103.9 kB / 0.9342 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.2239, allocations: 27.91 kB / 0.9343 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.2239, allocations: 4 kB / 0.9343 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.101e-05/0.224, allocations: 4 kB / 0.9343 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.2243, allocations: 8 kB / 0.9343 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003078/0.2246, allocations: 126.4 kB / 0.9344 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.2247, allocations: 0.681 MB / 0.9351 GB, free: 20.31 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.841e-05/0.2248, allocations: 4 kB / 0.9351 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.2248, allocations: 7.438 kB / 0.9351 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/0.2248, allocations: 0 / 0.9351 GB, free: 20.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.003054/0.2279, allocations: 444.2 kB / 0.9355 GB, free: 19.87 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)