Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.008605/0.008605, allocations: 110.2 kB / 15.05 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001111/0.001111, allocations: 183.8 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.204/2.204, allocations: 194.5 MB / 211.2 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.203/2.203, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004943, allocations: 12 kB / 0.587 GB, free: 2.133 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5842/0.5848, allocations: 98.71 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2261/0.8109, allocations: 124.3 MB / 0.8048 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/0.8112, allocations: 71.95 kB / 0.8048 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.002678/0.8139, allocations: 0.7476 MB / 0.8056 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.345e-06/0.8139, allocations: 0 / 0.8056 GB, free: 1.164 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.896e-06/0.814, allocations: 4 kB / 0.8056 GB, free: 1.16 MB / 0.6198 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.0005231/0.8145, allocations: 359.2 kB / 0.8059 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.8146, allocations: 8.031 kB / 0.8059 GB, free: 0.7539 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.8146, allocations: 7.906 kB / 0.8059 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.8148, allocations: 167 kB / 0.8061 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.8148, allocations: 0 / 0.8061 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.8148, allocations: 4 kB / 0.8061 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.8151, allocations: 73.64 kB / 0.8062 GB, free: 472 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.8151, allocations: 192 / 0.8062 GB, free: 472 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.8151, allocations: 3.938 kB / 0.8062 GB, free: 468 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.293e-06/0.8151, allocations: 0 / 0.8062 GB, free: 468 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002505/0.8154, allocations: 55.95 kB / 0.8062 GB, free: 412 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004255/0.8158, allocations: 260.9 kB / 0.8065 GB, free: 100 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002938/0.8161, allocations: 74.53 kB / 0.8065 GB, free: 16 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.484e-06/0.8162, allocations: 0 / 0.8065 GB, free: 16 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003132/0.8165, allocations: 83.39 kB / 0.8066 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.75e-06/0.8165, allocations: 0 / 0.8066 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0005125/0.817, allocations: 133.5 kB / 0.8067 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.8171, allocations: 51.41 kB / 0.8068 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.8172, allocations: 108.9 kB / 0.8069 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.8172, allocations: 33.7 kB / 0.8069 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.601e-05/0.8173, allocations: 84.14 kB / 0.807 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.8173, allocations: 15.75 kB / 0.807 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.093e-06/0.8174, allocations: 0 / 0.807 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.8175, allocations: 318.8 kB / 0.8073 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.8177, allocations: 35.92 kB / 0.8074 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.8179, allocations: 39.91 kB / 0.8074 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001403/0.818, allocations: 35.97 kB / 0.8074 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.268e-06/0.818, allocations: 0 / 0.8074 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003593/0.8184, allocations: 105.6 kB / 0.8075 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.8184, allocations: 8 kB / 0.8075 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.018e-06/0.8184, allocations: 0 / 0.8075 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.8185, allocations: 0 / 0.8075 GB, free: 14.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.8186, allocations: 15.98 kB / 0.8076 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.8186, allocations: 0 / 0.8076 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.8188, allocations: 11.98 kB / 0.8076 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.8188, allocations: 11.95 kB / 0.8076 GB, free: 14.88 MB / 0.6355 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 0.0001137/0.8189, allocations: 117.8 kB / 0.8077 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.8189, allocations: 7.906 kB / 0.8077 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.819, allocations: 7.906 kB / 0.8077 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-06/0.819, allocations: 0 / 0.8077 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.42e-06/0.819, allocations: 4 kB / 0.8077 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.364e-06/0.819, allocations: 0 / 0.8077 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.8192, allocations: 161.6 kB / 0.8079 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-06/0.8192, allocations: 0 / 0.8079 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.045e-05/0.8193, allocations: 15.98 kB / 0.8079 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8193, allocations: 0 / 0.8079 GB, free: 14.51 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.8193, allocations: 8 kB / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.048e-06/0.8194, allocations: 0 / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.702e-06/0.8194, allocations: 0 / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000398/0.8198, allocations: 125.2 kB / 0.808 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.8199, allocations: 96.97 kB / 0.8081 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.8199, allocations: 3.938 kB / 0.8081 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.82, allocations: 11.98 kB / 0.8081 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.743e-05/0.8201, allocations: 11.98 kB / 0.8081 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.086e-06/0.8201, allocations: 0 / 0.8081 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.068e-05/0.8202, allocations: 95.27 kB / 0.8082 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.06e-07/0.8202, allocations: 3.938 kB / 0.8082 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002705/0.8205, allocations: 8 kB / 0.8082 GB, free: 14.11 MB / 0.6355 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.0001536/0.8207, allocations: 103.2 kB / 0.8083 GB, free: 14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003519/0.821, allocations: 75.94 kB / 0.8084 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.254e-06/0.8211, allocations: 0 / 0.8084 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.8212, allocations: 39.86 kB / 0.8084 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.8214, allocations: 14.52 kB / 0.8084 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/0.8218, allocations: 134.7 kB / 0.8086 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/0.8222, allocations: 0.6848 MB / 0.8092 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.8223, allocations: 4 kB / 0.8092 GB, free: 13 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.8223, allocations: 11.44 kB / 0.8093 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of SimCode: time 1.472e-06/0.8223, allocations: 0 / 0.8093 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of Templates: time 0.003364/0.8257, allocations: 0.6735 MB / 0.8099 GB, free: 12.32 MB / 0.6355 GB