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.Validation.Edge.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.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01669/0.01669, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.001101/0.001102, allocations: 176.2 kB / 16.06 MB, free: 5.875 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 4.061/4.061, allocations: 389.1 MB / 405.9 MB, free: 67.64 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.297/4.297, allocations: 472.3 MB / 0.9018 GB, free: 13.41 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004749, allocations: 12 kB / 1.008 GB, free: 0.8438 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5213/0.5218, allocations: 98.72 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001239/0.5231, allocations: 1.168 MB / 1.105 GB, free: 182.7 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0003988/0.5235, allocations: 213.4 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.5236, allocations: 0 / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.5236, allocations: 4.969 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 7.173e-05/0.5237, allocations: 11.5 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.5238, allocations: 15.92 kB / 1.105 GB, free: 182.5 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 7.372e-05/0.5239, allocations: 55.83 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 8.156e-05/0.524, allocations: 15.92 kB / 1.105 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.576e-05/0.5241, allocations: 15.94 kB / 1.106 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.779e-05/0.5241, allocations: 23.91 kB / 1.106 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.5242, allocations: 4 kB / 1.106 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.5242, allocations: 3.469 kB / 1.106 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.5242, allocations: 11.94 kB / 1.106 GB, free: 182.4 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.5243, allocations: 33.69 kB / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 7.284e-05/0.5243, allocations: 36.66 kB / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.476e-06/0.5244, allocations: 0 / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.053e-06/0.5244, allocations: 0 / 1.106 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.244e-06/0.5244, allocations: 0 / 1.106 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004581/0.5248, allocations: 379.2 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.5249, allocations: 12.03 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.5249, allocations: 3.906 kB / 1.106 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.262e-05/0.525, allocations: 175.8 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.5251, allocations: 7.156 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.5251, allocations: 4 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.5253, allocations: 71.16 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.572e-06/0.5253, allocations: 0 / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5253, allocations: 4 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.444e-06/0.5253, allocations: 2.219 kB / 1.106 GB, free: 181.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.5256, allocations: 60.08 kB / 1.106 GB, free: 181.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.526, allocations: 308.6 kB / 1.107 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.5265, allocations: 121.4 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.5266, allocations: 43.81 kB / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.5267, allocations: 0 / 1.107 GB, free: 181 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.5269, allocations: 90.61 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.041e-06/0.5269, allocations: 1.969 kB / 1.107 GB, free: 180.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0004598/0.5274, allocations: 144 kB / 1.107 GB, free: 180.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.5274, allocations: 59.39 kB / 1.107 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/0.5275, allocations: 114 kB / 1.107 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.5275, allocations: 30.83 kB / 1.107 GB, free: 180.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.5276, allocations: 88.14 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.5276, allocations: 27.8 kB / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.11e-06/0.5277, allocations: 0 / 1.107 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.216e-05/0.5277, allocations: 317.5 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/0.5279, allocations: 31.97 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.528, allocations: 67.22 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.5281, allocations: 35.08 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.682e-06/0.5281, allocations: 0 / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003133/0.5285, allocations: 121.7 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.5285, allocations: 8 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.745e-06/0.5285, allocations: 3.984 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.5285, allocations: 0 / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.5286, allocations: 19.89 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.5287, allocations: 8.922 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.5288, allocations: 23.08 kB / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.5288, allocations: 0 / 1.108 GB, free: 179.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.584e-05/0.5289, allocations: 117.8 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/0.529, allocations: 3.906 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.529, allocations: 13.12 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.438e-06/0.529, allocations: 3.344 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.745e-06/0.529, allocations: 3.953 kB / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.529, allocations: 0 / 1.108 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/0.5296, allocations: 369.7 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-06/0.5296, allocations: 0.6562 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.838e-05/0.5297, allocations: 13.11 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.669e-06/0.5297, allocations: 0 / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.5297, allocations: 7.953 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.5297, allocations: 7.938 kB / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.829e-06/0.5297, allocations: 0 / 1.108 GB, free: 179.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003421/0.5301, allocations: 221.7 kB / 1.109 GB, free: 179 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.5301, allocations: 83.08 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.5302, allocations: 4 kB / 1.109 GB, free: 178.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.5303, allocations: 18.38 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.5304, allocations: 7.984 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.5304, allocations: 6.781 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.372e-05/0.5305, allocations: 96.02 kB / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.53e-07/0.5305, allocations: 0 / 1.109 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003222/0.5308, allocations: 9.031 kB / 1.109 GB, free: 178.7 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: 6 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001043/0.5309, allocations: 110.3 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002985/0.5312, allocations: 87.28 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.338e-06/0.5313, allocations: 0 / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.5314, allocations: 41.98 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.5318, allocations: 13.3 kB / 1.109 GB, free: 178.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.5322, allocations: 170 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.5323, allocations: 0.6887 MB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.134e-05/0.5324, allocations: 8.25 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.424e-05/0.5324, allocations: 11.44 kB / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.421e-06/0.5324, allocations: 0 / 1.11 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.003302/0.5357, allocations: 0.7406 MB / 1.111 GB, free: 176.9 MB / 0.6823 GB