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.009002/0.009007, allocations: 105.1 kB / 15.06 MB, free: 5.559 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.001087/0.001087, allocations: 180.5 kB / 15.95 MB, free: 5.523 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 1.921/1.921, allocations: 194.6 MB / 211.3 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.456/2.456, allocations: 236.2 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004737, allocations: 16 kB / 0.587 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6531/0.6536, allocations: 98.7 MB / 0.6834 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002931/0.6566, allocations: 1.163 MB / 0.6845 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0008978/0.6576, allocations: 208.3 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.226e-05/0.6577, allocations: 1.531 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.067e-05/0.6577, allocations: 5.344 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.6579, allocations: 9.953 kB / 0.6847 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.6582, allocations: 24.45 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.6583, allocations: 33.03 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.6585, allocations: 17.11 kB / 0.6848 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.6586, allocations: 18.97 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.66e-05/0.6588, allocations: 18.73 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.865e-05/0.6588, allocations: 6.625 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.636e-05/0.6589, allocations: 6.594 kB / 0.6848 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.528e-05/0.6589, allocations: 13.36 kB / 0.6848 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.659, allocations: 29.17 kB / 0.6849 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.6592, allocations: 38.78 kB / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.622e-06/0.6592, allocations: 0 / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.902e-06/0.6593, allocations: 0 / 0.6849 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.6593, allocations: 1.438 kB / 0.6849 GB, free: 15.74 MB / 0.5261 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.0009165/0.6602, allocations: 374.9 kB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.494e-05/0.6603, allocations: 10.25 kB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.392e-05/0.6604, allocations: 11.09 kB / 0.6853 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.6606, allocations: 177 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.6607, allocations: 2.375 kB / 0.6855 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.6607, allocations: 2.469 kB / 0.6855 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004443/0.6612, allocations: 72.38 kB / 0.6855 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.6612, allocations: 1.5 kB / 0.6855 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.6613, allocations: 4 kB / 0.6855 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.6613, allocations: 2 kB / 0.6855 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005262/0.6618, allocations: 57.8 kB / 0.6856 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009512/0.6628, allocations: 312.2 kB / 0.6859 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007376/0.6636, allocations: 123.6 kB / 0.686 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.6636, allocations: 0 / 0.686 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004697/0.6641, allocations: 83.25 kB / 0.6861 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 4.422e-06/0.6641, allocations: 0 / 0.6861 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.001059/0.6652, allocations: 146.7 kB / 0.6862 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.6653, allocations: 58.09 kB / 0.6863 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.6655, allocations: 116.2 kB / 0.6864 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.6656, allocations: 27.7 kB / 0.6864 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.339e-05/0.6657, allocations: 96.05 kB / 0.6865 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.6657, allocations: 20.22 kB / 0.6865 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.6658, allocations: 4 kB / 0.6865 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.6659, allocations: 315.9 kB / 0.6868 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000293/0.6662, allocations: 34.25 kB / 0.6869 GB, free: 14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.6666, allocations: 74.77 kB / 0.6869 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.6669, allocations: 28.97 kB / 0.687 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.823e-06/0.6669, allocations: 0 / 0.687 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0008174/0.6678, allocations: 127.2 kB / 0.6871 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.6678, allocations: 6.609 kB / 0.6871 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.6679, allocations: 1.031 kB / 0.6871 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.6679, allocations: 0.9688 kB / 0.6871 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.6681, allocations: 24.16 kB / 0.6871 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.6682, allocations: 5.609 kB / 0.6871 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.6684, allocations: 16.97 kB / 0.6871 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.6685, allocations: 2.781 kB / 0.6871 GB, free: 13.87 MB / 0.5261 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 0.0001578/0.6687, allocations: 118.3 kB / 0.6873 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.6687, allocations: 11.81 kB / 0.6873 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.851e-05/0.6688, allocations: 10.44 kB / 0.6873 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.6688, allocations: 2.438 kB / 0.6873 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.6689, allocations: 0 / 0.6873 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.556e-06/0.6689, allocations: 3.953 kB / 0.6873 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.67, allocations: 371.3 kB / 0.6876 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.467e-06/0.6701, allocations: 2.219 kB / 0.6876 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.6702, allocations: 10.53 kB / 0.6876 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.03e-06/0.6703, allocations: 0 / 0.6876 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.6703, allocations: 10.05 kB / 0.6877 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.088e-06/0.6703, allocations: 3.953 kB / 0.6877 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.972e-06/0.6704, allocations: 1.281 kB / 0.6877 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007259/0.6711, allocations: 214.8 kB / 0.6879 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.509e-05/0.6712, allocations: 84.27 kB / 0.6879 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.819e-05/0.6713, allocations: 0.75 kB / 0.6879 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.6716, allocations: 23.72 kB / 0.688 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.948e-05/0.6718, allocations: 11.75 kB / 0.688 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.6718, allocations: 1.375 kB / 0.688 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001067/0.6719, allocations: 95.48 kB / 0.6881 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.096e-06/0.672, allocations: 0 / 0.6881 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008229/0.6728, allocations: 14.47 kB / 0.6881 GB, free: 13.03 MB / 0.5261 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.0002058/0.673, allocations: 105.3 kB / 0.6882 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006941/0.6737, allocations: 87.75 kB / 0.6883 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.48e-06/0.6738, allocations: 1.688 kB / 0.6883 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.6741, allocations: 48.64 kB / 0.6883 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.6747, allocations: 9.609 kB / 0.6883 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007547/0.6755, allocations: 165.7 kB / 0.6885 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.6758, allocations: 0.6929 MB / 0.6892 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.653e-05/0.6759, allocations: 5.578 kB / 0.6892 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.748e-05/0.676, allocations: 11.77 kB / 0.6892 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of SimCode: time 2.585e-06/0.676, allocations: 0 / 0.6892 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of Templates: time 0.007133/0.6832, allocations: 0.7203 MB / 0.6899 GB, free: 11.98 MB / 0.5261 GB