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.Continuous.Validation.GreaterThreshold.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.082/4.082, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.459e-05/5.469e-05, allocations: 7.469 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2913, allocations: 98.73 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2831/0.5744, allocations: 124.2 MB / 0.756 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.5748, allocations: 71.95 kB / 0.7561 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002231/0.577, allocations: 0.6376 MB / 0.7567 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5771, allocations: 0 / 0.7567 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.5771, allocations: 0 / 0.7567 GB, free: 4.84 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004472/0.5775, allocations: 338.5 kB / 0.757 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.5776, allocations: 12.03 kB / 0.757 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.5776, allocations: 34.55 kB / 0.757 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.5777, allocations: 0 / 0.757 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.5778, allocations: 171 kB / 0.7572 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.5779, allocations: 3.984 kB / 0.7572 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.758e-06/0.5779, allocations: 0 / 0.7572 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.578, allocations: 41.64 kB / 0.7573 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.578, allocations: 0 / 0.7573 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.578, allocations: 7.984 kB / 0.7573 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.5781, allocations: 0 / 0.7573 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.394e-05/0.5781, allocations: 12 kB / 0.7573 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005302/0.5787, allocations: 268.8 kB / 0.7575 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.168e-05/0.5788, allocations: 26.58 kB / 0.7576 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.5788, allocations: 16.86 kB / 0.7576 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.5789, allocations: 0 / 0.7576 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.5789, allocations: 38.55 kB / 0.7576 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.5789, allocations: 0 / 0.7576 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001726/0.5791, allocations: 37.7 kB / 0.7576 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.5791, allocations: 55.36 kB / 0.7577 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.034e-05/0.5792, allocations: 93.03 kB / 0.7578 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.5793, allocations: 33.7 kB / 0.7578 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.5793, allocations: 80.14 kB / 0.7579 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.5794, allocations: 7.891 kB / 0.7579 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.5794, allocations: 7.938 kB / 0.7579 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5795, allocations: 310.8 kB / 0.7582 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.5796, allocations: 4 kB / 0.7582 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.5796, allocations: 11.94 kB / 0.7582 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.5796, allocations: 4.062 kB / 0.7582 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5797, allocations: 4 kB / 0.7582 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.923e-05/0.5798, allocations: 37.7 kB / 0.7583 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.5798, allocations: 8 kB / 0.7583 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5798, allocations: 3.984 kB / 0.7583 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5798, allocations: 0 / 0.7583 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.58, allocations: 8 kB / 0.7583 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.58, allocations: 0 / 0.7583 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.5801, allocations: 19.97 kB / 0.7583 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.5802, allocations: 0 / 0.7583 GB, free: 2.957 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.638e-05/0.5802, allocations: 101 kB / 0.7584 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.5803, allocations: 8.25 kB / 0.7584 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.5803, allocations: 7.109 kB / 0.7584 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5803, allocations: 0 / 0.7584 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.5803, allocations: 4 kB / 0.7584 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.5804, allocations: 0 / 0.7584 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.5806, allocations: 161.6 kB / 0.7586 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5806, allocations: 8 kB / 0.7586 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.5807, allocations: 11.92 kB / 0.7586 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.5807, allocations: 4 kB / 0.7586 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.5807, allocations: 0 / 0.7586 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.5807, allocations: 0 / 0.7586 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5808, allocations: 0 / 0.7586 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.5809, allocations: 151.4 kB / 0.7587 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.581, allocations: 77.11 kB / 0.7588 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.581, allocations: 0 / 0.7588 GB, free: 2.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.5812, allocations: 11.98 kB / 0.7588 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.5812, allocations: 0 / 0.7588 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-06/0.5812, allocations: 4 kB / 0.7588 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.378e-05/0.5813, allocations: 83.28 kB / 0.7589 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/0.5813, allocations: 0 / 0.7589 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002652/0.5816, allocations: 8.031 kB / 0.7589 GB, free: 2.242 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: 1 (greThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0005213/0.5821, allocations: 0.6772 MB / 0.7596 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001091/0.5822, allocations: 20 kB / 0.7596 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5823, allocations: 0 / 0.7596 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.5823, allocations: 12.03 kB / 0.7596 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.5826, allocations: 9.359 kB / 0.7596 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.583, allocations: 82.64 kB / 0.7597 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.5833, allocations: 0.6809 MB / 0.7604 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.395e-05/0.5833, allocations: 0 / 0.7604 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.321e-05/0.5834, allocations: 11.44 kB / 0.7604 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of SimCode: time 1.142e-06/0.5834, allocations: 0 / 0.7604 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.6052, allocations: 1.088 MB / 0.7614 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002938/0.6055, allocations: 166.4 kB / 0.7616 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/3.038, allocations: 0 / 0.7616 GB, free: 15.43 MB / 0.6511 GB