Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.664/1.664, allocations: 291.7 MB / 306.8 MB, free: 7.645 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 189.5 kB / 375.4 MB, free: 5.094 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.7 MB / 0.6538 GB, free: 13.62 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008984/0.0008986, allocations: 105.1 kB / 0.7699 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004769, allocations: 12 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7134/0.7139, allocations: 118.1 MB / 1.011 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0009741/0.7149, allocations: 475.7 kB / 1.011 GB, free: 57.71 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.7163, allocations: 1.126 MB / 1.012 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.7164, allocations: 0 / 1.012 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.7164, allocations: 0 / 1.012 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.115e-05/0.7165, allocations: 14.81 kB / 1.012 GB, free: 57.64 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000469/0.717, allocations: 112.9 kB / 1.013 GB, free: 57.63 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.7171, allocations: 97.55 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.7172, allocations: 23.7 kB / 1.013 GB, free: 57.62 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.7173, allocations: 40.67 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.7174, allocations: 35.72 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.7174, allocations: 9.469 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 6.669e-05/0.7175, allocations: 14.31 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.7175, allocations: 12.41 kB / 1.013 GB, free: 57.61 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.885e-05/0.7176, allocations: 42.61 kB / 1.013 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.7177, allocations: 77.44 kB / 1.013 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.7177, allocations: 0 / 1.013 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7178, allocations: 2.688 kB / 1.013 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.7178, allocations: 0 / 1.013 GB, free: 57.57 MB / 0.7136 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.0005428/0.7183, allocations: 400.6 kB / 1.013 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.7184, allocations: 8.812 kB / 1.013 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.7184, allocations: 8.844 kB / 1.013 GB, free: 57.17 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.7185, allocations: 178.5 kB / 1.013 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.7186, allocations: 10.91 kB / 1.014 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.7186, allocations: 7.547 kB / 1.014 GB, free: 56.96 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.7188, allocations: 75.58 kB / 1.014 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7188, allocations: 4.125 kB / 1.014 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.7188, allocations: 7.875 kB / 1.014 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.7188, allocations: 0.9375 kB / 1.014 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.719, allocations: 59.02 kB / 1.014 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004409/0.7195, allocations: 342 kB / 1.014 GB, free: 56.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.7197, allocations: 60.81 kB / 1.014 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.549e-05/0.7198, allocations: 42.03 kB / 1.014 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.7198, allocations: 2.844 kB / 1.014 GB, free: 56.61 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.72, allocations: 89.31 kB / 1.014 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.72, allocations: 1.375 kB / 1.014 GB, free: 56.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0004277/0.7205, allocations: 159.4 kB / 1.014 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.7205, allocations: 57.38 kB / 1.014 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.236e-05/0.7206, allocations: 120.2 kB / 1.014 GB, free: 56.37 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.7206, allocations: 30.42 kB / 1.015 GB, free: 56.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/0.7206, allocations: 86.86 kB / 1.015 GB, free: 56.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.7207, allocations: 25.72 kB / 1.015 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.7207, allocations: 6.781 kB / 1.015 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.018e-05/0.7207, allocations: 321.8 kB / 1.015 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.7209, allocations: 57.3 kB / 1.015 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.7211, allocations: 88.59 kB / 1.015 GB, free: 55.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002673/0.7213, allocations: 154.7 kB / 1.015 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.7213, allocations: 5.844 kB / 1.015 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004042/0.7218, allocations: 213.6 kB / 1.015 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.188e-05/0.7218, allocations: 36.75 kB / 1.015 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7218, allocations: 1.125 kB / 1.015 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.7218, allocations: 6.172 kB / 1.015 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.722, allocations: 24.23 kB / 1.016 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.722, allocations: 3.938 kB / 1.016 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.7222, allocations: 49.09 kB / 1.016 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.7222, allocations: 10.86 kB / 1.016 GB, free: 55.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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 8.44e-05/0.7223, allocations: 125.8 kB / 1.016 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.311e-05/0.7223, allocations: 6.688 kB / 1.016 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.815e-05/0.7224, allocations: 8.562 kB / 1.016 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.7224, allocations: 8.062 kB / 1.016 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.7224, allocations: 0 / 1.016 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7224, allocations: 1.062 kB / 1.016 GB, free: 55.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004199/0.7228, allocations: 392.5 kB / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.7228, allocations: 0 / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.804e-05/0.7229, allocations: 15.34 kB / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7229, allocations: 0 / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.7229, allocations: 5.656 kB / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7229, allocations: 0 / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.723, allocations: 2.656 kB / 1.016 GB, free: 55.27 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.7232, allocations: 224.2 kB / 1.016 GB, free: 55.12 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.969e-05/0.7233, allocations: 82.77 kB / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.7233, allocations: 1.375 kB / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.7234, allocations: 14.41 kB / 1.016 GB, free: 55.03 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.7234, allocations: 14.17 kB / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.7235, allocations: 4.25 kB / 1.016 GB, free: 55.02 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.7235, allocations: 91.77 kB / 1.017 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7235, allocations: 0 / 1.017 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000235/0.7237, allocations: 25.78 kB / 1.017 GB, free: 54.95 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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 (8): * Single equations (assignments): 6 * 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.0001551/0.7239, allocations: 116.3 kB / 1.017 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003843/0.7243, allocations: 188.8 kB / 1.017 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7243, allocations: 0.6562 kB / 1.017 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.7244, allocations: 47.03 kB / 1.017 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.7247, allocations: 14.2 kB / 1.017 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003227/0.725, allocations: 182 kB / 1.017 GB, free: 54.65 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001267/0.7252, allocations: 0.6894 MB / 1.018 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.7252, allocations: 9.922 kB / 1.018 GB, free: 53.95 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.7252, allocations: 17.12 kB / 1.018 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.7252, allocations: 0 / 1.018 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of Templates: time 0.003455/0.7287, allocations: 1.279 MB / 1.019 GB, free: 53.88 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)