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.275/2.275, allocations: 248.7 MB / 256.2 MB, free: 7.094 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.001481/0.001481, allocations: 172.1 kB / 315.4 MB, free: 4.02 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.033/2.033, allocations: 205.3 MB / 0.5662 GB, free: 0.5859 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.001051/0.001051, allocations: 80.28 kB / 0.6704 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.328e-05/2.34e-05, allocations: 7.984 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.216, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.115/7.331, allocations: 2.192 GB / 3.077 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/7.331, allocations: 83.2 kB / 3.077 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1786/7.51, allocations: 54.55 MB / 3.13 GB, free: 113 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.533e-06/7.51, allocations: 0 / 3.13 GB, free: 113 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.956e-05/7.51, allocations: 23.92 kB / 3.13 GB, free: 112.9 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.001684/7.511, allocations: 0.8998 MB / 3.131 GB, free: 112 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/7.511, allocations: 8.031 kB / 3.131 GB, free: 112 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002561/7.514, allocations: 194.7 kB / 3.131 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/7.515, allocations: 0.5191 MB / 3.132 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/7.515, allocations: 7.984 kB / 3.132 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.277e-05/7.515, allocations: 15.95 kB / 3.132 GB, free: 111.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007473/7.516, allocations: 284.6 kB / 3.132 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005838/7.517, allocations: 278.6 kB / 3.132 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/7.517, allocations: 0 / 3.132 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.675e-05/7.517, allocations: 4 kB / 3.132 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/7.517, allocations: 4 kB / 3.132 GB, free: 110.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003492/7.52, allocations: 1.171 MB / 3.133 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008076/7.521, allocations: 345.5 kB / 3.134 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/7.522, allocations: 177.7 kB / 3.134 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.859e-05/7.522, allocations: 7.984 kB / 3.134 GB, free: 108.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005347/7.522, allocations: 260.8 kB / 3.134 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 3.056e-06/7.522, allocations: 0 / 3.134 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.005838/7.528, allocations: 0.6269 MB / 3.135 GB, free: 108 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/7.528, allocations: 81.11 kB / 3.135 GB, free: 107.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002725/7.531, allocations: 1.165 MB / 3.136 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/7.531, allocations: 33.7 kB / 3.136 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/7.532, allocations: 364.5 kB / 3.136 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/7.532, allocations: 94.64 kB / 3.136 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/7.532, allocations: 0 / 3.136 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.062e-05/7.532, allocations: 329.9 kB / 3.137 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/7.532, allocations: 132 kB / 3.137 GB, free: 105.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003543/7.533, allocations: 197.9 kB / 3.137 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005423/7.533, allocations: 151.9 kB / 3.137 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/7.533, allocations: 4 kB / 3.137 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005597/7.539, allocations: 0.6142 MB / 3.138 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/7.539, allocations: 4 kB / 3.138 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/7.539, allocations: 4 kB / 3.138 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/7.539, allocations: 120.8 kB / 3.138 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006424/7.54, allocations: 67.89 kB / 3.138 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006705/7.547, allocations: 1.794 MB / 3.14 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/7.548, allocations: 39.78 kB / 3.14 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.464e-05/7.548, allocations: 19.98 kB / 3.14 GB, free: 102.6 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.0001738/7.548, allocations: 117.3 kB / 3.14 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005512/7.554, allocations: 0.6148 MB / 3.14 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/7.554, allocations: 87.02 kB / 3.14 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006027/7.56, allocations: 0.7508 MB / 3.141 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/7.56, allocations: 4 kB / 3.141 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/7.56, allocations: 0 / 3.141 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/7.56, allocations: 4 kB / 3.141 GB, free: 101 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/7.561, allocations: 0.5983 MB / 3.142 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/7.562, allocations: 4 kB / 3.142 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/7.562, allocations: 59.91 kB / 3.142 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005426/7.563, allocations: 124.7 kB / 3.142 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/7.563, allocations: 11.98 kB / 3.142 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006709/7.569, allocations: 1.794 MB / 3.144 GB, free: 98.22 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/7.57, allocations: 4.094 kB / 3.144 GB, free: 98.22 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005922/7.575, allocations: 0.6968 MB / 3.144 GB, free: 97.49 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006339/7.576, allocations: 227.9 kB / 3.145 GB, free: 97.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/7.576, allocations: 4 kB / 3.145 GB, free: 97.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000862/7.577, allocations: 27.97 kB / 3.145 GB, free: 97.22 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/7.577, allocations: 27.95 kB / 3.145 GB, free: 97.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.556e-05/7.577, allocations: 19.98 kB / 3.145 GB, free: 97.17 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001616/7.579, allocations: 0.9364 MB / 3.146 GB, free: 96.24 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.72e-07/7.579, allocations: 0 / 3.146 GB, free: 96.24 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001084/7.58, allocations: 199.8 kB / 3.146 GB, free: 96.05 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.007858/7.588, allocations: 2.168 MB / 3.148 GB, free: 93.94 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001411/7.59, allocations: 489.6 kB / 3.148 GB, free: 93.45 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/7.59, allocations: 3.938 kB / 3.148 GB, free: 93.45 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007379/7.59, allocations: 333.7 kB / 3.149 GB, free: 93.11 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/7.591, allocations: 116.4 kB / 3.149 GB, free: 92.99 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00345/7.595, allocations: 1.547 MB / 3.15 GB, free: 91.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005909/7.596, allocations: 0.9927 MB / 3.151 GB, free: 90.38 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006977/7.596, allocations: 123.1 kB / 3.151 GB, free: 90.26 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/7.597, allocations: 267.3 kB / 3.152 GB, free: 90 MB / 0.8698 GB Notification: Performance of SimCode: time 1.082e-06/7.597, allocations: 0 / 3.152 GB, free: 90 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07758/7.674, allocations: 22.4 MB / 3.174 GB, free: 67.65 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002841/7.675, allocations: 174.2 kB / 3.174 GB, free: 67.45 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.222/10.9, allocations: 32 / 3.174 GB, free: 67.45 MB / 0.8698 GB