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.224/2.224, allocations: 248.7 MB / 256.2 MB, free: 7.008 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.001455/0.001455, allocations: 184.5 kB / 315.4 MB, free: 4.008 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 95.84 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.457e-05/4.457e-05, allocations: 12 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2189, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9301/1.149, allocations: 131.4 MB / 1.012 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/1.149, allocations: 64.89 kB / 1.012 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002172/1.152, allocations: 0.6382 MB / 1.013 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.542e-06/1.152, allocations: 0 / 1.013 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.082e-06/1.152, allocations: 0 / 1.013 GB, free: 6.785 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.0004545/1.152, allocations: 338.9 kB / 1.013 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.152, allocations: 12.03 kB / 1.013 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/1.152, allocations: 0 / 1.013 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/1.152, allocations: 175 kB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/1.152, allocations: 0 / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/1.152, allocations: 3.984 kB / 1.014 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.699e-05/1.152, allocations: 7.25 kB / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.697e-05/1.153, allocations: 37.08 kB / 1.014 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.153, allocations: 0 / 1.014 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/1.153, allocations: 0 / 1.014 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/1.153, allocations: 0 / 1.014 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/1.153, allocations: 259.6 kB / 1.014 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.19e-05/1.153, allocations: 21.83 kB / 1.014 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.499e-05/1.153, allocations: 12.17 kB / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/1.153, allocations: 0 / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/1.153, allocations: 34.56 kB / 1.014 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/1.153, allocations: 6.625 kB / 1.014 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001512/1.153, allocations: 37.08 kB / 1.014 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/1.153, allocations: 55.34 kB / 1.014 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.06e-05/1.154, allocations: 96.3 kB / 1.014 GB, free: 5.574 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/1.154, allocations: 25.7 kB / 1.014 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/1.154, allocations: 83.27 kB / 1.014 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/1.154, allocations: 7.906 kB / 1.014 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/1.154, allocations: 0 / 1.014 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.154, allocations: 319.6 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/1.154, allocations: 7 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-05/1.154, allocations: 3.062 kB / 1.015 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.209e-05/1.154, allocations: 4 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.154, allocations: 0 / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.12e-05/1.154, allocations: 40.31 kB / 1.015 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.154, allocations: 8 kB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/1.154, allocations: 0 / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/1.154, allocations: 3.938 kB / 1.015 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/1.154, allocations: 16.08 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/1.154, allocations: 0 / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/1.154, allocations: 11.98 kB / 1.015 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/1.154, allocations: 3.938 kB / 1.015 GB, free: 5.039 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.52e-05/1.154, allocations: 104.9 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.803e-05/1.155, allocations: 47.39 kB / 1.015 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/1.155, allocations: 7.844 kB / 1.015 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/1.155, allocations: 7.703 kB / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/1.155, allocations: 0 / 1.015 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/1.155, allocations: 4 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/1.155, allocations: 0 / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/1.155, allocations: 141.4 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.155, allocations: 0 / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-05/1.155, allocations: 11.98 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/1.155, allocations: 0 / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/1.155, allocations: 4.031 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/1.155, allocations: 0 / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.155, allocations: 0.875 kB / 1.015 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/1.155, allocations: 142.1 kB / 1.015 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/1.155, allocations: 85.03 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/1.155, allocations: 3.984 kB / 1.015 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/1.155, allocations: 12.03 kB / 1.015 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/1.155, allocations: 3.984 kB / 1.015 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/1.156, allocations: 4 kB / 1.015 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.438e-05/1.156, allocations: 85.91 kB / 1.015 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/1.156, allocations: 0 / 1.015 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002809/1.156, allocations: 4 kB / 1.015 GB, free: 4.316 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.0004424/1.156, allocations: 0.672 MB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001075/1.156, allocations: 15.12 kB / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.156, allocations: 2.656 kB / 1.016 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.331e-05/1.157, allocations: 7.312 kB / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/1.157, allocations: 6.656 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/1.157, allocations: 98.52 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/1.157, allocations: 0.6807 MB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.399e-05/1.157, allocations: 7.922 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.688e-05/1.158, allocations: 7.438 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of SimCode: time 8.12e-07/1.158, allocations: 0 / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03371/1.191, allocations: 0.7518 MB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/1.192, allocations: 158.4 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/3.387, allocations: 4 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB