Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.688/1.688, allocations: 249.3 MB / 261.8 MB, free: 5.828 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.001534/0.001534, allocations: 188.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.2 MB / 0.572 GB, free: 10.72 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.001101/0.0011, allocations: 93.39 kB / 0.6764 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.445e-05/4.466e-05, allocations: 0 / 0.788 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2306, allocations: 106.3 MB / 0.8919 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.302/7.532, allocations: 2.192 GB / 3.084 GB, free: 177.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004818/7.533, allocations: 88.55 kB / 3.084 GB, free: 177 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1211/7.654, allocations: 55.37 MB / 3.138 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.866e-06/7.654, allocations: 0 / 3.138 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.127e-05/7.654, allocations: 19.94 kB / 3.138 GB, free: 120.8 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.001699/7.656, allocations: 0.8998 MB / 3.139 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.072e-05/7.656, allocations: 12.03 kB / 3.139 GB, free: 119.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.169e-05/7.656, allocations: 50.55 kB / 3.139 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/7.658, allocations: 194.7 kB / 3.14 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/7.659, allocations: 0.5191 MB / 3.14 GB, free: 119.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/7.659, allocations: 16.38 kB / 3.14 GB, free: 119 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/7.659, allocations: 23.95 kB / 3.14 GB, free: 119 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005701/7.66, allocations: 299 kB / 3.14 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/7.66, allocations: 0 / 3.14 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/7.66, allocations: 12 kB / 3.14 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/7.66, allocations: 4 kB / 3.14 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005458/7.66, allocations: 300.7 kB / 3.141 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00237/7.663, allocations: 1.199 MB / 3.142 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/7.663, allocations: 377.4 kB / 3.142 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/7.664, allocations: 173.7 kB / 3.142 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.308e-05/7.664, allocations: 8 kB / 3.142 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004553/7.664, allocations: 276.8 kB / 3.143 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/7.664, allocations: 0 / 3.143 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.002995/7.667, allocations: 0.6268 MB / 3.143 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/7.667, allocations: 81.11 kB / 3.143 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/7.669, allocations: 1.219 MB / 3.145 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/7.669, allocations: 33.7 kB / 3.145 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/7.67, allocations: 364.6 kB / 3.145 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/7.67, allocations: 106.6 kB / 3.145 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/7.67, allocations: 8 kB / 3.145 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001564/7.67, allocations: 321.9 kB / 3.145 GB, free: 113.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/7.67, allocations: 140 kB / 3.145 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/7.67, allocations: 197.8 kB / 3.146 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/7.671, allocations: 160.1 kB / 3.146 GB, free: 113 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/7.671, allocations: 0 / 3.146 GB, free: 113 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002722/7.673, allocations: 0.6338 MB / 3.146 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/7.673, allocations: 8 kB / 3.146 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/7.673, allocations: 0 / 3.146 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000481/7.674, allocations: 120.8 kB / 3.147 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/7.674, allocations: 59.89 kB / 3.147 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004247/7.679, allocations: 1.869 MB / 3.148 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/7.679, allocations: 47.8 kB / 3.148 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/7.679, allocations: 23.97 kB / 3.149 GB, free: 110.1 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.0001717/7.679, allocations: 117.4 kB / 3.149 GB, free: 110 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/7.679, allocations: 82.97 kB / 3.149 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/7.683, allocations: 0.7664 MB / 3.149 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/7.683, allocations: 7.953 kB / 3.149 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/7.683, allocations: 0 / 3.149 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/7.683, allocations: 3.984 kB / 3.149 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007714/7.683, allocations: 0.6563 MB / 3.15 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/7.683, allocations: 0 / 3.15 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/7.684, allocations: 59.91 kB / 3.15 GB, free: 108.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003402/7.684, allocations: 120.7 kB / 3.15 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/7.684, allocations: 23.94 kB / 3.15 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003944/7.688, allocations: 1.869 MB / 3.152 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/7.688, allocations: 0 / 3.152 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002851/7.691, allocations: 0.7194 MB / 3.153 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004146/7.691, allocations: 224 kB / 3.153 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/7.692, allocations: 12 kB / 3.153 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004539/7.692, allocations: 31.97 kB / 3.153 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/7.692, allocations: 27.97 kB / 3.153 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.895e-05/7.692, allocations: 19.97 kB / 3.153 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001603/7.694, allocations: 0.9794 MB / 3.154 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.71e-07/7.694, allocations: 0 / 3.154 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001126/7.695, allocations: 219.8 kB / 3.154 GB, free: 103.9 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.005866/7.701, allocations: 2.104 MB / 3.156 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001251/7.702, allocations: 0.506 MB / 3.157 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/7.702, allocations: 0 / 3.157 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005874/7.703, allocations: 346.6 kB / 3.157 GB, free: 101 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000835/7.704, allocations: 112.4 kB / 3.157 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/7.707, allocations: 1.585 MB / 3.159 GB, free: 99.25 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/7.708, allocations: 0.9888 MB / 3.16 GB, free: 98.24 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005058/7.708, allocations: 138.7 kB / 3.16 GB, free: 98.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004672/7.709, allocations: 267.3 kB / 3.16 GB, free: 97.84 MB / 0.8698 GB Notification: Performance of SimCode: time 1.182e-06/7.709, allocations: 0 / 3.16 GB, free: 97.84 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06418/7.773, allocations: 30.29 MB / 3.19 GB, free: 67.66 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/7.773, allocations: 229.5 kB / 3.19 GB, free: 67.43 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.285/11.06, allocations: 3.938 kB / 3.19 GB, free: 67.43 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)