Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.223/2.223, allocations: 248.5 MB / 261 MB, free: 5.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001413, allocations: 174.7 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.05/2.05, allocations: 205.1 MB / 0.571 GB, free: 11.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001144/0.001144, allocations: 100.6 kB / 0.6754 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.835e-05/4.861e-05, allocations: 8 kB / 0.7869 GB, free: 97.76 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2082, allocations: 106.2 MB / 0.8907 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.218, allocations: 131.1 MB / 1.019 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/1.218, allocations: 69.2 kB / 1.019 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002259/1.22, allocations: 0.6363 MB / 1.019 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/1.22, allocations: 0 / 1.019 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.683e-06/1.22, allocations: 0 / 1.019 GB, free: 3.453 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.0004792/1.221, allocations: 346.2 kB / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/1.221, allocations: 8.031 kB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/1.221, allocations: 34.56 kB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.345e-05/1.221, allocations: 4 kB / 1.02 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/1.221, allocations: 166.5 kB / 1.02 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/1.221, allocations: 7.938 kB / 1.02 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/1.221, allocations: 0 / 1.02 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/1.221, allocations: 40.56 kB / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/1.221, allocations: 3.938 kB / 1.02 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/1.221, allocations: 0 / 1.02 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.221, allocations: 4 kB / 1.02 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.893e-05/1.221, allocations: 7.438 kB / 1.02 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/1.222, allocations: 276 kB / 1.02 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.785e-05/1.222, allocations: 25.45 kB / 1.02 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/1.222, allocations: 12.42 kB / 1.02 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/1.222, allocations: 0 / 1.02 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/1.222, allocations: 41.12 kB / 1.02 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/1.222, allocations: 0 / 1.02 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001614/1.222, allocations: 41.27 kB / 1.02 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/1.222, allocations: 55.36 kB / 1.02 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.289e-05/1.222, allocations: 96.42 kB / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/1.222, allocations: 25.7 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/1.222, allocations: 87.77 kB / 1.021 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/1.222, allocations: 3.906 kB / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/1.222, allocations: 4.031 kB / 1.021 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.223, allocations: 314.2 kB / 1.021 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.622e-05/1.223, allocations: 4 kB / 1.021 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/1.223, allocations: 7.75 kB / 1.021 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.58e-05/1.223, allocations: 3.938 kB / 1.021 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/1.223, allocations: 4 kB / 1.021 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.641e-05/1.223, allocations: 40.88 kB / 1.021 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.223, allocations: 4 kB / 1.021 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.223, allocations: 4.094 kB / 1.021 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/1.223, allocations: 4 kB / 1.021 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/1.223, allocations: 7.984 kB / 1.021 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/1.223, allocations: 0 / 1.021 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/1.223, allocations: 19.94 kB / 1.021 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/1.223, allocations: 0 / 1.021 GB, free: 1.621 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 (lesThr.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.889e-05/1.223, allocations: 108.5 kB / 1.021 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/1.223, allocations: 3.938 kB / 1.021 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/1.223, allocations: 11.08 kB / 1.021 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/1.223, allocations: 3.984 kB / 1.021 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.223, allocations: 0 / 1.021 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.223, allocations: 0 / 1.021 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/1.224, allocations: 164.2 kB / 1.021 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.224, allocations: 0 / 1.021 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.561e-05/1.224, allocations: 12.81 kB / 1.021 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.224, allocations: 7.938 kB / 1.021 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/1.224, allocations: 0 / 1.021 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/1.224, allocations: 0 / 1.021 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.224, allocations: 4 kB / 1.021 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001822/1.224, allocations: 141.5 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/1.224, allocations: 85.05 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/1.224, allocations: 6.875 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/1.224, allocations: 16.02 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/1.224, allocations: 3.984 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/1.224, allocations: 0 / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.833e-05/1.224, allocations: 85.59 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.3e-07/1.224, allocations: 0 / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002602/1.225, allocations: 4 kB / 1.022 GB, free: 0.9102 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 (lesThr.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.000477/1.225, allocations: 0.6778 MB / 1.022 GB, free: 220 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001032/1.225, allocations: 11.38 kB / 1.022 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.225, allocations: 0 / 1.022 GB, free: 212 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.184e-05/1.225, allocations: 11.94 kB / 1.022 GB, free: 204 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/1.226, allocations: 0.6562 kB / 1.022 GB, free: 204 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/1.226, allocations: 98.86 kB / 1.022 GB, free: 72 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/1.226, allocations: 0.6809 MB / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.234e-05/1.226, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/1.226, allocations: 7.438 kB / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of SimCode: time 7.41e-07/1.226, allocations: 0 / 1.023 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/1.249, allocations: 1.067 MB / 1.024 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/1.249, allocations: 173.8 kB / 1.024 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.696, allocations: 3.938 kB / 1.024 GB, free: 14.19 MB / 0.6511 GB