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.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01489/0.01489, allocations: 107.3 kB / 15.06 MB, free: 5.562 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.00177/0.00177, allocations: 177.2 kB / 15.94 MB, free: 5.527 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.891/1.891, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.411/2.411, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009607/0.0009611, allocations: 16 kB / 0.587 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5991/0.6001, allocations: 98.71 MB / 0.6834 GB, free: 16.59 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002509/0.6027, allocations: 1.169 MB / 0.6845 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007572/0.6034, allocations: 206.5 kB / 0.6847 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/0.6035, allocations: 0 / 0.6847 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.291e-05/0.6036, allocations: 4.734 kB / 0.6847 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001208/0.6037, allocations: 12.56 kB / 0.6847 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.604, allocations: 31.27 kB / 0.6847 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.6041, allocations: 33.52 kB / 0.6848 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.6043, allocations: 11.97 kB / 0.6848 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.6044, allocations: 20.19 kB / 0.6848 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.557e-05/0.6045, allocations: 23.34 kB / 0.6848 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.6046, allocations: 2.5 kB / 0.6848 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.308e-05/0.6046, allocations: 3.469 kB / 0.6848 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.6046, allocations: 7.922 kB / 0.6848 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.6047, allocations: 42.58 kB / 0.6849 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.6049, allocations: 39.48 kB / 0.6849 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.726e-06/0.6049, allocations: 0 / 0.6849 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.999e-06/0.6049, allocations: 0 / 0.6849 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.6049, allocations: 0 / 0.6849 GB, free: 15.46 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007732/0.6057, allocations: 377.9 kB / 0.6853 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.6058, allocations: 8.562 kB / 0.6853 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.6059, allocations: 7.844 kB / 0.6853 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.606, allocations: 176.3 kB / 0.6855 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.6061, allocations: 2.156 kB / 0.6855 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.6061, allocations: 8.922 kB / 0.6855 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.6065, allocations: 72.3 kB / 0.6855 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.6066, allocations: 0 / 0.6855 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.6066, allocations: 5.516 kB / 0.6855 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.841e-06/0.6066, allocations: 1.031 kB / 0.6855 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/0.6071, allocations: 57.75 kB / 0.6856 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008371/0.608, allocations: 319.1 kB / 0.6859 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008771/0.6089, allocations: 115.3 kB / 0.686 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.6089, allocations: 3.938 kB / 0.686 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004539/0.6094, allocations: 86.97 kB / 0.6861 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 4.141e-06/0.6094, allocations: 0 / 0.6861 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0009678/0.6104, allocations: 159 kB / 0.6863 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.6105, allocations: 54.52 kB / 0.6863 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.6107, allocations: 116.1 kB / 0.6864 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.6107, allocations: 27.38 kB / 0.6864 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.469e-05/0.6108, allocations: 96.02 kB / 0.6865 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.6109, allocations: 15.75 kB / 0.6865 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/0.6109, allocations: 5.281 kB / 0.6866 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.342e-05/0.611, allocations: 323.2 kB / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.6113, allocations: 30.42 kB / 0.6869 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.6116, allocations: 62.52 kB / 0.6869 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.6119, allocations: 38.47 kB / 0.687 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.174e-06/0.6119, allocations: 0 / 0.687 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006798/0.6126, allocations: 127.5 kB / 0.6871 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.6126, allocations: 6.156 kB / 0.6871 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.294e-06/0.6127, allocations: 0 / 0.6871 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.6127, allocations: 3.719 kB / 0.6871 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.6129, allocations: 22 kB / 0.6871 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.6129, allocations: 1.438 kB / 0.6871 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.6132, allocations: 23.44 kB / 0.6872 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.6132, allocations: 7.844 kB / 0.6872 GB, free: 13.57 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,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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.0001364/0.6134, allocations: 115.6 kB / 0.6873 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.758e-05/0.6135, allocations: 3.312 kB / 0.6873 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.6135, allocations: 10.5 kB / 0.6873 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.033e-06/0.6135, allocations: 0.7812 kB / 0.6873 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.294e-06/0.6136, allocations: 5.609 kB / 0.6873 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.89e-06/0.6136, allocations: 7.984 kB / 0.6873 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000985/0.6146, allocations: 372.4 kB / 0.6877 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.304e-06/0.6146, allocations: 0.8125 kB / 0.6877 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.6148, allocations: 18.42 kB / 0.6877 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.333e-06/0.6148, allocations: 0.8125 kB / 0.6877 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.1e-05/0.6148, allocations: 5.578 kB / 0.6877 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.778e-06/0.6149, allocations: 1.875 kB / 0.6877 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6149, allocations: 3.938 kB / 0.6877 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006789/0.6156, allocations: 211.2 kB / 0.6879 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.6157, allocations: 82.92 kB / 0.688 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.6157, allocations: 1.844 kB / 0.688 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.616, allocations: 19.16 kB / 0.688 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.6162, allocations: 9.531 kB / 0.688 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.6162, allocations: 6.109 kB / 0.688 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.7e-05/0.6163, allocations: 94.52 kB / 0.6881 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.48e-07/0.6163, allocations: 0 / 0.6881 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00159/0.6179, allocations: 14.31 kB / 0.6881 GB, free: 12.74 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 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001948/0.6182, allocations: 111.4 kB / 0.6882 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000657/0.6188, allocations: 84.19 kB / 0.6883 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.526e-06/0.6189, allocations: 0 / 0.6883 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.6192, allocations: 40.02 kB / 0.6883 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.6197, allocations: 16.98 kB / 0.6884 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008417/0.6206, allocations: 190.2 kB / 0.6885 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002071/0.6208, allocations: 0.6942 MB / 0.6892 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.893e-05/0.6209, allocations: 4.922 kB / 0.6892 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.621, allocations: 11.47 kB / 0.6892 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of SimCode: time 2.227e-06/0.621, allocations: 0 / 0.6892 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of Templates: time 0.005875/0.6269, allocations: 0.7606 MB / 0.69 GB, free: 11.68 MB / 0.5261 GB