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.Continuous.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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.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.508/2.508, allocations: 254.9 MB / 269.9 MB, free: 9.633 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.00139/0.00139, allocations: 196.2 kB / 329.5 MB, free: 1.152 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.654/2.654, 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.001011/0.00101, allocations: 98.16 kB / 0.7074 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.0004979, allocations: 13.22 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.219, allocations: 109.1 MB / 0.9308 GB, free: 25.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002037/0.2211, allocations: 1.057 MB / 0.9318 GB, free: 24.02 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004517/0.2216, allocations: 123.7 kB / 0.9319 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.2217, allocations: 4 kB / 0.9319 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.11e-05/0.2217, allocations: 0 / 0.9319 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.382e-05/0.2218, allocations: 11.94 kB / 0.932 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.222, allocations: 11.97 kB / 0.932 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.2221, allocations: 43.84 kB / 0.932 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.2222, allocations: 7.875 kB / 0.932 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.288e-05/0.2223, allocations: 15.92 kB / 0.932 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.445e-05/0.2224, allocations: 15.98 kB / 0.9321 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.2224, allocations: 0 / 0.9321 GB, free: 23.79 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.988e-05/0.2225, allocations: 7.938 kB / 0.9321 GB, free: 23.78 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.424e-05/0.2225, allocations: 7.984 kB / 0.9321 GB, free: 23.77 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.2226, allocations: 29.7 kB / 0.9321 GB, free: 23.73 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.857e-05/0.2227, allocations: 31.92 kB / 0.9321 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2227, allocations: 0 / 0.9321 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2227, allocations: 0 / 0.9321 GB, free: 23.7 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.91e-06/0.2227, allocations: 0 / 0.9321 GB, free: 23.7 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000802/0.2235, allocations: 355.7 kB / 0.9325 GB, free: 23.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.2236, allocations: 12.03 kB / 0.9325 GB, free: 23.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.2237, allocations: 4.844 kB / 0.9325 GB, free: 23.29 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2238, allocations: 168.4 kB / 0.9326 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.2238, allocations: 384 / 0.9326 GB, free: 23.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.2239, allocations: 8.312 kB / 0.9326 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003798/0.2243, allocations: 66.22 kB / 0.9327 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2243, allocations: 192 / 0.9327 GB, free: 23.01 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.2244, allocations: 3.938 kB / 0.9327 GB, free: 23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.2244, allocations: 0 / 0.9327 GB, free: 23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000493/0.2249, allocations: 51.95 kB / 0.9328 GB, free: 22.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005053/0.2254, allocations: 261 kB / 0.933 GB, free: 22.65 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.2259, allocations: 82.41 kB / 0.9331 GB, free: 22.56 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.2262, allocations: 32.92 kB / 0.9331 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.2262, allocations: 0 / 0.9331 GB, free: 22.52 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003961/0.2266, allocations: 83.36 kB / 0.9332 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 2.284e-06/0.2267, allocations: 0 / 0.9332 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0008389/0.2275, allocations: 133.5 kB / 0.9333 GB, free: 22.29 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.2276, allocations: 51.41 kB / 0.9334 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.783e-05/0.2277, allocations: 113.8 kB / 0.9335 GB, free: 22.11 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.2277, allocations: 29.7 kB / 0.9335 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.2278, allocations: 84.12 kB / 0.9336 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.2278, allocations: 15.81 kB / 0.9336 GB, free: 21.97 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/0.2278, allocations: 4 kB / 0.9336 GB, free: 21.97 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.2279, allocations: 318.8 kB / 0.9339 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.2282, allocations: 31.97 kB / 0.934 GB, free: 21.62 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.2285, allocations: 35.97 kB / 0.934 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.2287, allocations: 31.98 kB / 0.934 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2288, allocations: 7.938 kB / 0.934 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005771/0.2293, allocations: 105.6 kB / 0.9341 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2294, allocations: 11.94 kB / 0.9341 GB, free: 21.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2294, allocations: 0 / 0.9341 GB, free: 21.42 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2294, allocations: 3.938 kB / 0.9341 GB, free: 21.42 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.2297, allocations: 15.98 kB / 0.9342 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.2297, allocations: 4 kB / 0.9342 GB, free: 21.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.2299, allocations: 11.98 kB / 0.9342 GB, free: 21.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.2299, allocations: 0 / 0.9342 GB, free: 21.39 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.593e-05/0.23, allocations: 127.2 kB / 0.9343 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.2301, allocations: 4.094 kB / 0.9343 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.569e-05/0.2301, allocations: 15.89 kB / 0.9343 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.2301, allocations: 3.984 kB / 0.9343 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2302, allocations: 0 / 0.9343 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2302, allocations: 0 / 0.9343 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.2303, allocations: 165.6 kB / 0.9345 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2303, allocations: 0 / 0.9345 GB, free: 21.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.2305, allocations: 11.98 kB / 0.9345 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2305, allocations: 4 kB / 0.9345 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.2305, allocations: 4 kB / 0.9345 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2305, allocations: 0 / 0.9345 GB, free: 21 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2305, allocations: 4 kB / 0.9345 GB, free: 20.99 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005493/0.2311, allocations: 129 kB / 0.9346 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.2312, allocations: 81.02 kB / 0.9347 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.2312, allocations: 3.984 kB / 0.9347 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.2314, allocations: 8 kB / 0.9347 GB, free: 20.74 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.929e-05/0.2315, allocations: 15.97 kB / 0.9347 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.2315, allocations: 4 kB / 0.9347 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.053e-05/0.2316, allocations: 83.28 kB / 0.9348 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2316, allocations: 0 / 0.9348 GB, free: 20.64 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004413/0.2321, allocations: 12 kB / 0.9348 GB, free: 20.62 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001493/0.2322, allocations: 107.2 kB / 0.9349 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005822/0.2328, allocations: 79.83 kB / 0.935 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2328, allocations: 4 kB / 0.935 GB, free: 20.43 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002775/0.2331, allocations: 35.97 kB / 0.935 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.2335, allocations: 15.92 kB / 0.935 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.2341, allocations: 132.3 kB / 0.9352 GB, free: 20.22 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001515/0.2343, allocations: 0.6809 MB / 0.9358 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.552e-05/0.2343, allocations: 4 kB / 0.9358 GB, free: 19.51 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.2344, allocations: 15.38 kB / 0.9359 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of SimCode: time 8.12e-07/0.2344, allocations: 0 / 0.9359 GB, free: 19.49 MB / 0.5886 GB Notification: Performance of Templates: time 0.004478/0.2389, allocations: 0.6934 MB / 0.9365 GB, free: 18.8 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)