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.409/1.409, allocations: 249.5 MB / 257 MB, free: 6.887 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.001112/0.001113, allocations: 184.9 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009951/0.0009951, allocations: 85.62 kB / 0.6714 GB, free: 5.016 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.677e-05/1.68e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2089, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.518/5.727, allocations: 2.193 GB / 3.078 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/5.728, allocations: 79.39 kB / 3.078 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.102/5.83, allocations: 54.55 MB / 3.131 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.272e-06/5.83, allocations: 0 / 3.131 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.921e-05/5.83, allocations: 19.98 kB / 3.131 GB, free: 125 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.001198/5.831, allocations: 0.8998 MB / 3.132 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/5.831, allocations: 8.031 kB / 3.132 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/5.832, allocations: 190.7 kB / 3.132 GB, free: 123.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007175/5.833, allocations: 0.5192 MB / 3.133 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/5.833, allocations: 4 kB / 3.133 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/5.833, allocations: 15.98 kB / 3.133 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004145/5.833, allocations: 296.5 kB / 3.133 GB, free: 123 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003537/5.834, allocations: 266.9 kB / 3.133 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/5.834, allocations: 0 / 3.133 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/5.834, allocations: 4 kB / 3.133 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/5.834, allocations: 4 kB / 3.133 GB, free: 122.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/5.836, allocations: 1.156 MB / 3.135 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/5.836, allocations: 361.5 kB / 3.135 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/5.836, allocations: 169.7 kB / 3.135 GB, free: 121 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/5.836, allocations: 7.984 kB / 3.135 GB, free: 121 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003165/5.837, allocations: 260.8 kB / 3.135 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 2.755e-06/5.837, allocations: 0 / 3.135 GB, free: 120.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30): time 0.002698/5.839, allocations: 0.6281 MB / 3.136 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/5.84, allocations: 81.11 kB / 3.136 GB, free: 120 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/5.841, allocations: 1.169 MB / 3.137 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/5.841, allocations: 29.7 kB / 3.137 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/5.841, allocations: 360.5 kB / 3.138 GB, free: 118.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.358e-05/5.841, allocations: 94.66 kB / 3.138 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.346e-05/5.841, allocations: 3.938 kB / 3.138 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.487e-05/5.841, allocations: 318 kB / 3.138 GB, free: 118 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/5.841, allocations: 139.9 kB / 3.138 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001863/5.842, allocations: 193.8 kB / 3.138 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002604/5.842, allocations: 159.8 kB / 3.138 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/5.842, allocations: 7.938 kB / 3.138 GB, free: 117.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002536/5.844, allocations: 0.6183 MB / 3.139 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/5.845, allocations: 4 kB / 3.139 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/5.845, allocations: 4 kB / 3.139 GB, free: 116.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003591/5.845, allocations: 120.8 kB / 3.139 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/5.845, allocations: 71.89 kB / 3.139 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/5.849, allocations: 1.794 MB / 3.141 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/5.849, allocations: 35.72 kB / 3.141 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/5.849, allocations: 23.92 kB / 3.141 GB, free: 114.7 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.0001143/5.849, allocations: 113.5 kB / 3.141 GB, free: 114.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002552/5.852, allocations: 0.6103 MB / 3.142 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/5.852, allocations: 82.97 kB / 3.142 GB, free: 113.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002753/5.855, allocations: 0.7546 MB / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/5.855, allocations: 4 kB / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/5.855, allocations: 256 / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/5.855, allocations: 4 kB / 3.143 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005186/5.855, allocations: 0.6022 MB / 3.143 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/5.855, allocations: 11.92 kB / 3.143 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002709/5.855, allocations: 55.97 kB / 3.143 GB, free: 112.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002719/5.856, allocations: 120.7 kB / 3.143 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.233e-05/5.856, allocations: 23.88 kB / 3.143 GB, free: 112.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00316/5.859, allocations: 1.787 MB / 3.145 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/5.859, allocations: 3.984 kB / 3.145 GB, free: 110.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/5.862, allocations: 0.7008 MB / 3.146 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/5.862, allocations: 227.9 kB / 3.146 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.268e-05/5.862, allocations: 4 kB / 3.146 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004019/5.862, allocations: 27.97 kB / 3.146 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/5.862, allocations: 23.97 kB / 3.146 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/5.862, allocations: 23.97 kB / 3.146 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000837/5.863, allocations: 0.9325 MB / 3.147 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/5.863, allocations: 0 / 3.147 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006988/5.864, allocations: 199.8 kB / 3.147 GB, free: 108.2 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.004159/5.868, allocations: 2.167 MB / 3.149 GB, free: 106 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007737/5.869, allocations: 485.4 kB / 3.15 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/5.869, allocations: 0 / 3.15 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004064/5.869, allocations: 329.7 kB / 3.15 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000578/5.87, allocations: 116.5 kB / 3.15 GB, free: 105.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/5.872, allocations: 1.543 MB / 3.152 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/5.872, allocations: 0.9927 MB / 3.153 GB, free: 102.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000352/5.873, allocations: 135.3 kB / 3.153 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/5.873, allocations: 267.3 kB / 3.153 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of SimCode: time 3.11e-07/5.873, allocations: 0 / 3.153 GB, free: 102.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04096/5.914, allocations: 22.4 MB / 3.175 GB, free: 79.72 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003307/5.914, allocations: 181.7 kB / 3.175 GB, free: 79.52 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.751/8.666, allocations: 0 / 3.175 GB, free: 79.52 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)