Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.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.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE",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.238/2.238, allocations: 248.5 MB / 261.1 MB, free: 5.98 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.001486/0.001486, allocations: 174.3 kB / 320.4 MB, free: 15.34 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.045/2.045, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001174/0.001173, allocations: 90.47 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.293e-05/4.315e-05, allocations: 4 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2178, allocations: 106.2 MB / 0.8907 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.26/7.478, allocations: 2.192 GB / 3.083 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/7.479, allocations: 83.58 kB / 3.083 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1905/7.669, allocations: 55.36 MB / 3.137 GB, free: 91.02 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.595e-06/7.669, allocations: 0 / 3.137 GB, free: 91.02 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.671e-05/7.669, allocations: 16 kB / 3.137 GB, free: 91.01 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001798/7.671, allocations: 0.8998 MB / 3.138 GB, free: 90.06 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/7.671, allocations: 8.031 kB / 3.138 GB, free: 90.05 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.741e-05/7.671, allocations: 58.55 kB / 3.138 GB, free: 89.98 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002554/7.674, allocations: 190.7 kB / 3.138 GB, free: 89.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/7.675, allocations: 0.523 MB / 3.139 GB, free: 89.23 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.324e-05/7.675, allocations: 24.33 kB / 3.139 GB, free: 89.21 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/7.675, allocations: 16 kB / 3.139 GB, free: 89.19 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/7.676, allocations: 299 kB / 3.139 GB, free: 88.88 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/7.676, allocations: 4 kB / 3.139 GB, free: 88.88 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/7.676, allocations: 7.984 kB / 3.139 GB, free: 88.87 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/7.676, allocations: 4 kB / 3.139 GB, free: 88.87 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007974/7.677, allocations: 296.8 kB / 3.139 GB, free: 88.58 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003453/7.68, allocations: 1.222 MB / 3.141 GB, free: 87.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009122/7.681, allocations: 361.5 kB / 3.141 GB, free: 86.93 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/7.682, allocations: 177.7 kB / 3.141 GB, free: 86.75 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.315e-05/7.682, allocations: 7.984 kB / 3.141 GB, free: 86.74 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005671/7.682, allocations: 276.8 kB / 3.141 GB, free: 86.45 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 3.346e-06/7.682, allocations: 0 / 3.141 GB, free: 86.45 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.005614/7.688, allocations: 0.6272 MB / 3.142 GB, free: 85.82 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/7.688, allocations: 81.11 kB / 3.142 GB, free: 85.72 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002687/7.691, allocations: 1.215 MB / 3.143 GB, free: 84.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.619e-05/7.691, allocations: 37.69 kB / 3.143 GB, free: 84.46 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003551/7.691, allocations: 364.6 kB / 3.144 GB, free: 84.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/7.691, allocations: 98.64 kB / 3.144 GB, free: 84 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/7.692, allocations: 4 kB / 3.144 GB, free: 84 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.106e-05/7.692, allocations: 321.9 kB / 3.144 GB, free: 83.68 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/7.692, allocations: 147.9 kB / 3.144 GB, free: 83.53 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004116/7.692, allocations: 201.8 kB / 3.144 GB, free: 83.31 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004245/7.693, allocations: 154 kB / 3.144 GB, free: 83.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/7.693, allocations: 8.031 kB / 3.144 GB, free: 83.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00547/7.698, allocations: 0.6261 MB / 3.145 GB, free: 82.52 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/7.698, allocations: 8.062 kB / 3.145 GB, free: 82.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/7.698, allocations: 0 / 3.145 GB, free: 82.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006521/7.699, allocations: 132.7 kB / 3.145 GB, free: 82.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006157/7.7, allocations: 63.89 kB / 3.145 GB, free: 82.32 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006954/7.707, allocations: 1.869 MB / 3.147 GB, free: 80.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/7.708, allocations: 51.72 kB / 3.147 GB, free: 80.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/7.708, allocations: 19.92 kB / 3.147 GB, free: 80.25 MB / 0.8698 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 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001723/7.708, allocations: 125.4 kB / 3.147 GB, free: 80.12 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/7.708, allocations: 82.97 kB / 3.147 GB, free: 80.04 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006049/7.714, allocations: 0.751 MB / 3.148 GB, free: 79.27 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/7.714, allocations: 4 kB / 3.148 GB, free: 79.27 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/7.714, allocations: 8 kB / 3.148 GB, free: 79.26 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/7.714, allocations: 3.984 kB / 3.148 GB, free: 79.25 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/7.716, allocations: 0.6484 MB / 3.149 GB, free: 78.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/7.716, allocations: 0 / 3.149 GB, free: 78.55 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006024/7.716, allocations: 63.89 kB / 3.149 GB, free: 78.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005449/7.717, allocations: 128.7 kB / 3.149 GB, free: 78.36 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/7.717, allocations: 11.98 kB / 3.149 GB, free: 78.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006906/7.724, allocations: 1.861 MB / 3.151 GB, free: 76.35 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/7.724, allocations: 0 / 3.151 GB, free: 76.35 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005826/7.73, allocations: 0.7272 MB / 3.151 GB, free: 75.59 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/7.73, allocations: 220 kB / 3.152 GB, free: 75.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/7.731, allocations: 24.05 kB / 3.152 GB, free: 75.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008936/7.732, allocations: 23.98 kB / 3.152 GB, free: 75.31 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/7.732, allocations: 27.95 kB / 3.152 GB, free: 75.29 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.396e-05/7.732, allocations: 23.98 kB / 3.152 GB, free: 75.26 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001736/7.734, allocations: 0.9755 MB / 3.153 GB, free: 74.29 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.91e-07/7.734, allocations: 3.938 kB / 3.153 GB, free: 74.29 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001183/7.735, allocations: 223.8 kB / 3.153 GB, free: 74.07 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007984/7.743, allocations: 2.098 MB / 3.155 GB, free: 72.06 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001589/7.744, allocations: 0.51 MB / 3.155 GB, free: 71.54 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/7.744, allocations: 3.938 kB / 3.155 GB, free: 71.54 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008271/7.745, allocations: 342.4 kB / 3.156 GB, free: 71.19 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/7.746, allocations: 115.8 kB / 3.156 GB, free: 71.08 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00371/7.75, allocations: 1.581 MB / 3.157 GB, free: 69.45 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006095/7.751, allocations: 0.9888 MB / 3.158 GB, free: 68.44 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007482/7.752, allocations: 130.7 kB / 3.159 GB, free: 68.31 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005799/7.752, allocations: 271.3 kB / 3.159 GB, free: 68.04 MB / 0.8698 GB Notification: Performance of SimCode: time 1.623e-06/7.752, allocations: 3.938 kB / 3.159 GB, free: 68.04 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07759/7.83, allocations: 30.28 MB / 3.188 GB, free: 37.92 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003238/7.83, allocations: 216.7 kB / 3.189 GB, free: 37.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.778/11.61, allocations: 0 / 3.189 GB, free: 37.7 MB / 0.8698 GB