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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01107/0.01107, allocations: 107.1 kB / 15.05 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.001172/0.001171, allocations: 186.2 kB / 15.95 MB, free: 5.895 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.116/2.116, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.298/2.298, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004736, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7502/0.7507, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2312/0.982, allocations: 124.7 MB / 0.8052 GB, free: 1.484 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/0.9824, allocations: 67.97 kB / 0.8053 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00401/0.9864, allocations: 0.9633 MB / 0.8062 GB, free: 460 kB / 0.6198 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9864, allocations: 0 / 0.8062 GB, free: 460 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.353e-06/0.9865, allocations: 0 / 0.8062 GB, free: 460 kB / 0.6198 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.0007291/0.9872, allocations: 379.2 kB / 0.8066 GB, free: 32 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.9873, allocations: 8.031 kB / 0.8066 GB, free: 24 kB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.867e-05/0.9873, allocations: 38.56 kB / 0.8066 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.9874, allocations: 11.86 kB / 0.8067 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.9876, allocations: 167 kB / 0.8068 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.9876, allocations: 3.984 kB / 0.8068 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.9876, allocations: 7.938 kB / 0.8068 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.9879, allocations: 65.67 kB / 0.8069 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.988, allocations: 3.984 kB / 0.8069 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.988, allocations: 11.94 kB / 0.8069 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.988, allocations: 4 kB / 0.8069 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.9884, allocations: 51.95 kB / 0.807 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006936/0.9891, allocations: 308.7 kB / 0.8072 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007241/0.9898, allocations: 126.5 kB / 0.8074 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.9899, allocations: 0 / 0.8074 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003458/0.9902, allocations: 87.56 kB / 0.8075 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.354e-06/0.9902, allocations: 0 / 0.8075 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0007137/0.991, allocations: 149.5 kB / 0.8076 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.991, allocations: 55.34 kB / 0.8076 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.9912, allocations: 109.2 kB / 0.8078 GB, free: 14.69 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.9912, allocations: 29.7 kB / 0.8078 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.9913, allocations: 88.12 kB / 0.8079 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.9914, allocations: 19.8 kB / 0.8079 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.9914, allocations: 0 / 0.8079 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.9915, allocations: 322.8 kB / 0.8082 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.9917, allocations: 31.98 kB / 0.8082 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.992, allocations: 59.41 kB / 0.8083 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.9922, allocations: 35.98 kB / 0.8083 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.9922, allocations: 4 kB / 0.8083 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000544/0.9928, allocations: 129.5 kB / 0.8084 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.9928, allocations: 4 kB / 0.8084 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.9928, allocations: 0 / 0.8084 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.9929, allocations: 4.562 kB / 0.8084 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.993, allocations: 19.94 kB / 0.8085 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.993, allocations: 4 kB / 0.8085 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.9932, allocations: 20.05 kB / 0.8085 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.9932, allocations: 0 / 0.8085 GB, free: 13.9 MB / 0.6355 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.0001457/0.9934, allocations: 126.4 kB / 0.8086 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.9934, allocations: 7.844 kB / 0.8086 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.124e-05/0.9935, allocations: 16.36 kB / 0.8086 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.9935, allocations: 0 / 0.8086 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.9935, allocations: 3.953 kB / 0.8086 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.9935, allocations: 4 kB / 0.8086 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007711/0.9943, allocations: 362.6 kB / 0.809 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.9944, allocations: 0 / 0.809 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.9945, allocations: 19.92 kB / 0.809 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.495e-06/0.9945, allocations: 0 / 0.809 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.9945, allocations: 7.891 kB / 0.809 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.9945, allocations: 4 kB / 0.809 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.9946, allocations: 0 / 0.809 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000494/0.9951, allocations: 211.4 kB / 0.8092 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.9951, allocations: 77.11 kB / 0.8093 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.9952, allocations: 4 kB / 0.8093 GB, free: 12.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.9954, allocations: 19.92 kB / 0.8093 GB, free: 12.95 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/0.9954, allocations: 11.98 kB / 0.8093 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.9955, allocations: 4 kB / 0.8093 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.62e-05/0.9956, allocations: 95.22 kB / 0.8094 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9956, allocations: 0 / 0.8094 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003306/0.9959, allocations: 15.98 kB / 0.8094 GB, free: 12.83 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: 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.0009303/0.9968, allocations: 0.7426 MB / 0.8102 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004666/0.9973, allocations: 88.08 kB / 0.8102 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.9974, allocations: 0 / 0.8102 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.9976, allocations: 43.89 kB / 0.8103 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.9979, allocations: 21.3 kB / 0.8103 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.9998, allocations: 1.001 MB / 0.8113 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/1, allocations: 0.6989 MB / 0.812 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.843e-05/1, allocations: 11.92 kB / 0.812 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.063e-05/1, allocations: 23.38 kB / 0.812 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/1, allocations: 0 / 0.812 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/1.021, allocations: 1.603 MB / 0.8136 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003086/1.021, allocations: 182.7 kB / 0.8137 GB, free: 8.363 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/3.547, allocations: 0 / 0.8137 GB, free: 8.363 MB / 0.6355 GB