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.Logical.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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.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.0114/0.01141, allocations: 222.5 kB / 15.17 MB, free: 5.93 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.001198/0.001198, allocations: 177.5 kB / 16.06 MB, free: 5.828 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 3.644/3.644, allocations: 389.1 MB / 405.9 MB, free: 67.49 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.534/4.534, allocations: 472.3 MB / 0.9018 GB, free: 13.31 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004964/0.0004967, allocations: 16 kB / 1.008 GB, free: 0.7266 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5344/0.535, allocations: 98.72 MB / 1.104 GB, free: 183.6 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001059/0.5361, allocations: 0.994 MB / 1.105 GB, free: 182.6 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0003288/0.5364, allocations: 178.8 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.5365, allocations: 3.062 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.5365, allocations: 3.938 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.549e-05/0.5366, allocations: 0 / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001114/0.5367, allocations: 11.98 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 4.924e-05/0.5368, allocations: 19.88 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.5368, allocations: 0 / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.664e-05/0.5369, allocations: 11.97 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/0.5369, allocations: 11.94 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.5369, allocations: 3.406 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.537, allocations: 4.75 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.537, allocations: 3.984 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.537, allocations: 25.7 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 4.831e-05/0.5371, allocations: 11.98 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.164e-06/0.5371, allocations: 3.984 kB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2e-06/0.5371, allocations: 0 / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.791e-06/0.5371, allocations: 0 / 1.105 GB, free: 182.3 MB / 0.6823 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.0003514/0.5375, allocations: 328.1 kB / 1.106 GB, free: 182 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.5375, allocations: 12.72 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.053e-05/0.5376, allocations: 4 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.896e-05/0.5377, allocations: 184.1 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.5377, allocations: 0 / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.934e-06/0.5377, allocations: 4 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.85e-05/0.5378, allocations: 33.14 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.879e-06/0.5378, allocations: 0 / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.5378, allocations: 3.984 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-06/0.5379, allocations: 0.5625 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.247e-05/0.5379, allocations: 8 kB / 1.106 GB, free: 181.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.538, allocations: 157.6 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.671e-05/0.5381, allocations: 33.52 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.426e-05/0.5381, allocations: 8.844 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.5382, allocations: 4.766 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/0.5383, allocations: 49.25 kB / 1.106 GB, free: 181.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 2.319e-06/0.5383, allocations: 4 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0001552/0.5385, allocations: 57.36 kB / 1.106 GB, free: 181.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.5385, allocations: 55.41 kB / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.362e-05/0.5386, allocations: 102.4 kB / 1.106 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.675e-06/0.5386, allocations: 25.7 kB / 1.106 GB, free: 181.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.303e-05/0.5386, allocations: 84.14 kB / 1.106 GB, free: 181 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.5387, allocations: 3.906 kB / 1.106 GB, free: 181 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-06/0.5387, allocations: 4 kB / 1.106 GB, free: 181 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.934e-05/0.5387, allocations: 319 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.5388, allocations: 7.984 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.5388, allocations: 17.72 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/0.5389, allocations: 8.516 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.121e-06/0.5389, allocations: 0 / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.401e-05/0.539, allocations: 53.62 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.539, allocations: 7.344 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.539, allocations: 1.5 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.539, allocations: 4 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/0.5391, allocations: 0 / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5391, allocations: 0 / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.122e-05/0.5392, allocations: 11.98 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-06/0.5392, allocations: 1 kB / 1.107 GB, free: 180.6 MB / 0.6823 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 6.013e-05/0.5393, allocations: 125.8 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.5393, allocations: 3.906 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.5393, allocations: 3.5 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.731e-06/0.5393, allocations: 0.75 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.376e-06/0.5393, allocations: 4 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5394, allocations: 4.688 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.632e-05/0.5395, allocations: 165.6 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-06/0.5395, allocations: 0 / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-06/0.5395, allocations: 3.094 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.94e-06/0.5395, allocations: 0 / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.5395, allocations: 0 / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.264e-06/0.5395, allocations: 4 kB / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5395, allocations: 0 / 1.107 GB, free: 180.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.813e-05/0.5397, allocations: 77.03 kB / 1.107 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.5397, allocations: 81.09 kB / 1.107 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.5397, allocations: 4 kB / 1.107 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.234e-05/0.5398, allocations: 7.25 kB / 1.107 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.65e-05/0.5398, allocations: 7.984 kB / 1.107 GB, free: 180 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-06/0.5399, allocations: 4 kB / 1.107 GB, free: 180 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.048e-05/0.5399, allocations: 79.28 kB / 1.107 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.66e-07/0.5399, allocations: 3.531 kB / 1.107 GB, free: 179.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002466/0.5402, allocations: 4.938 kB / 1.107 GB, free: 179.9 MB / 0.6823 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 9.716e-05/0.5403, allocations: 114.3 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.828e-05/0.5404, allocations: 16.8 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.5404, allocations: 0 / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.596e-05/0.5404, allocations: 4 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.5407, allocations: 19.36 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.541, allocations: 130.4 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.5411, allocations: 0.6776 MB / 1.108 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.404e-05/0.5411, allocations: 1.031 kB / 1.108 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.5411, allocations: 14.34 kB / 1.108 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.3e-06/0.5412, allocations: 0 / 1.108 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.002606/0.5438, allocations: 438.3 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB