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.01132/0.01133, allocations: 108.4 kB / 15.06 MB, free: 5.555 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.001165/0.001165, allocations: 179.5 kB / 15.95 MB, free: 5.52 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.029/2.029, allocations: 194.6 MB / 211.3 MB, free: 10.94 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.35/2.35, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000505/0.0005051, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6629/0.6634, allocations: 98.72 MB / 0.6834 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.00189/0.6653, allocations: 1.16 MB / 0.6846 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005684/0.666, allocations: 210.2 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.026e-05/0.666, allocations: 1.188 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.6661, allocations: 4.641 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.6662, allocations: 14.67 kB / 0.6848 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002374/0.6665, allocations: 20.41 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001354/0.6666, allocations: 36.12 kB / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.6668, allocations: 16.94 kB / 0.6849 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.6669, allocations: 18.69 kB / 0.6849 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.137e-05/0.667, allocations: 23.84 kB / 0.6849 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.667, allocations: 2.406 kB / 0.6849 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.158e-05/0.6671, allocations: 2.125 kB / 0.6849 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.68e-05/0.6671, allocations: 8.891 kB / 0.6849 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.6672, allocations: 34.36 kB / 0.685 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.6673, allocations: 34.66 kB / 0.685 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6673, allocations: 0 / 0.685 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6673, allocations: 4 kB / 0.685 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.6674, allocations: 0 / 0.685 GB, free: 15.72 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.0009323/0.6683, allocations: 372.9 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.888e-05/0.6684, allocations: 9.25 kB / 0.6854 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.6684, allocations: 37.3 kB / 0.6854 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.6685, allocations: 12.11 kB / 0.6854 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.6687, allocations: 175.9 kB / 0.6856 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.6687, allocations: 3.156 kB / 0.6856 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.6688, allocations: 6.312 kB / 0.6856 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.6692, allocations: 75.72 kB / 0.6857 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.6692, allocations: 1.219 kB / 0.6857 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.6693, allocations: 0.8906 kB / 0.6857 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.6693, allocations: 5.125 kB / 0.6857 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004523/0.6698, allocations: 53.56 kB / 0.6857 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008489/0.6706, allocations: 317.4 kB / 0.686 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009112/0.6716, allocations: 119.3 kB / 0.6861 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.6716, allocations: 0 / 0.6861 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003789/0.672, allocations: 89.41 kB / 0.6862 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.484e-06/0.6721, allocations: 0 / 0.6862 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0008275/0.6729, allocations: 148.7 kB / 0.6864 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.673, allocations: 53.25 kB / 0.6864 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.6731, allocations: 120.1 kB / 0.6865 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.6732, allocations: 31.48 kB / 0.6866 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.6732, allocations: 88.02 kB / 0.6866 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.6733, allocations: 20.48 kB / 0.6867 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.6733, allocations: 0 / 0.6867 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.321e-05/0.6734, allocations: 319.8 kB / 0.687 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.6736, allocations: 38.84 kB / 0.687 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002224/0.6738, allocations: 57.12 kB / 0.6871 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.6741, allocations: 38.33 kB / 0.6871 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6741, allocations: 0 / 0.6871 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005376/0.6746, allocations: 124 kB / 0.6872 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.299e-05/0.6747, allocations: 5.375 kB / 0.6872 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6747, allocations: 5.094 kB / 0.6872 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.6747, allocations: 1.984 kB / 0.6872 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.6749, allocations: 18.02 kB / 0.6872 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.128e-06/0.6749, allocations: 1.969 kB / 0.6872 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.6751, allocations: 23.03 kB / 0.6873 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.6752, allocations: 8.094 kB / 0.6873 GB, free: 13.81 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.0001075/0.6753, allocations: 113.7 kB / 0.6874 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.6753, allocations: 7.562 kB / 0.6874 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.6754, allocations: 9.75 kB / 0.6874 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.6754, allocations: 1.219 kB / 0.6874 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6754, allocations: 7.891 kB / 0.6874 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.6754, allocations: 3.984 kB / 0.6874 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007717/0.6762, allocations: 368.2 kB / 0.6878 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.6762, allocations: 0.6562 kB / 0.6878 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.6764, allocations: 11.2 kB / 0.6878 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.6764, allocations: 4 kB / 0.6878 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.6764, allocations: 13.7 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.6764, allocations: 0 / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6765, allocations: 5.375 kB / 0.6878 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005255/0.677, allocations: 203.1 kB / 0.688 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.6771, allocations: 88.22 kB / 0.6881 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.6771, allocations: 5.484 kB / 0.6881 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.6773, allocations: 19.3 kB / 0.6881 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.6774, allocations: 8.094 kB / 0.6881 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.6774, allocations: 1.594 kB / 0.6881 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.452e-05/0.6775, allocations: 98.45 kB / 0.6882 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6775, allocations: 4 kB / 0.6882 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003581/0.6779, allocations: 11.06 kB / 0.6882 GB, free: 12.97 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.0009193/0.6788, allocations: 0.7578 MB / 0.6889 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005131/0.6794, allocations: 80.03 kB / 0.689 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.6794, allocations: 8.188 kB / 0.689 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.6796, allocations: 38.39 kB / 0.6891 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.68, allocations: 13.05 kB / 0.6891 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.6818, allocations: 1.011 MB / 0.6901 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001672/0.682, allocations: 0.6891 MB / 0.6907 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.87e-05/0.6821, allocations: 13.39 kB / 0.6908 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.82e-05/0.6822, allocations: 15.55 kB / 0.6908 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of SimCode: time 1.302e-06/0.6822, allocations: 1.188 kB / 0.6908 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.7037, allocations: 1.616 MB / 0.6923 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002194/0.704, allocations: 189.3 kB / 0.6925 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.085, allocations: 0 / 0.6925 GB, free: 10.2 MB / 0.5261 GB