Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.654/1.654, allocations: 289.9 MB / 297.4 MB, free: 6.379 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 176.8 kB / 366.7 MB, free: 1.664 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.993/1.993, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008428/0.0008428, allocations: 88.02 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.022e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8184/0.8184, allocations: 116.3 MB / 0.9733 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.604/6.423, allocations: 2.075 GB / 3.048 GB, free: 55.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003914/6.423, allocations: 79.95 kB / 3.048 GB, free: 55.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.007/7.43, allocations: 55.62 MB / 3.102 GB, free: 326.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.114e-06/7.431, allocations: 0 / 3.102 GB, free: 326.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.765e-05/7.431, allocations: 11.09 kB / 3.102 GB, free: 326.9 MB / 0.948 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.00228/7.433, allocations: 0.9065 MB / 3.103 GB, free: 326.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.941e-05/7.433, allocations: 9.344 kB / 3.103 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/7.435, allocations: 183.9 kB / 3.103 GB, free: 326.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/7.436, allocations: 0.53 MB / 3.104 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.524e-05/7.436, allocations: 7.109 kB / 3.104 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.886e-05/7.436, allocations: 12.52 kB / 3.104 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008973/7.437, allocations: 282 kB / 3.104 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007426/7.438, allocations: 282.9 kB / 3.105 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/7.438, allocations: 1.969 kB / 3.105 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/7.438, allocations: 0.5156 kB / 3.105 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/7.438, allocations: 5.219 kB / 3.105 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003685/7.442, allocations: 1.159 MB / 3.106 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/7.443, allocations: 348.8 kB / 3.106 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/7.443, allocations: 169.2 kB / 3.106 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.698e-05/7.443, allocations: 7.5 kB / 3.106 GB, free: 325.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006526/7.444, allocations: 272.7 kB / 3.106 GB, free: 325.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 4.538e-06/7.444, allocations: 0 / 3.106 GB, free: 325.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.003861/7.448, allocations: 0.618 MB / 3.107 GB, free: 325.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/7.448, allocations: 86.44 kB / 3.107 GB, free: 325.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002805/7.451, allocations: 1.17 MB / 3.108 GB, free: 325.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8e-05/7.451, allocations: 31.61 kB / 3.108 GB, free: 325.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/7.451, allocations: 364.1 kB / 3.109 GB, free: 325.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/7.452, allocations: 92.48 kB / 3.109 GB, free: 325 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/7.452, allocations: 1 kB / 3.109 GB, free: 325 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.844e-05/7.452, allocations: 318.3 kB / 3.109 GB, free: 324.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/7.452, allocations: 143 kB / 3.109 GB, free: 324.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003572/7.452, allocations: 192.5 kB / 3.109 GB, free: 324.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004777/7.453, allocations: 159 kB / 3.109 GB, free: 324.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/7.453, allocations: 0.6875 kB / 3.109 GB, free: 324.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00323/7.456, allocations: 0.6291 MB / 3.11 GB, free: 324.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/7.456, allocations: 5.188 kB / 3.11 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/7.456, allocations: 1.562 kB / 3.11 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005167/7.457, allocations: 129.9 kB / 3.11 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/7.457, allocations: 60.91 kB / 3.11 GB, free: 324.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004187/7.461, allocations: 1.801 MB / 3.112 GB, free: 323.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007247/7.462, allocations: 38.19 kB / 3.112 GB, free: 323.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.837e-05/7.462, allocations: 15.98 kB / 3.112 GB, free: 323.4 MB / 0.948 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.0001742/7.462, allocations: 118.8 kB / 3.112 GB, free: 323.3 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003054/7.465, allocations: 0.6209 MB / 3.113 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/7.466, allocations: 87.05 kB / 3.113 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003515/7.469, allocations: 0.7387 MB / 3.114 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/7.469, allocations: 3.969 kB / 3.114 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/7.469, allocations: 1.219 kB / 3.114 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/7.469, allocations: 4.844 kB / 3.114 GB, free: 323.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/7.47, allocations: 0.5978 MB / 3.114 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/7.47, allocations: 2.438 kB / 3.114 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/7.471, allocations: 53.28 kB / 3.114 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/7.471, allocations: 124.8 kB / 3.114 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/7.471, allocations: 11.77 kB / 3.114 GB, free: 322.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004246/7.476, allocations: 1.797 MB / 3.116 GB, free: 321.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/7.476, allocations: 8.844 kB / 3.116 GB, free: 321.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003292/7.479, allocations: 0.6941 MB / 3.117 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/7.479, allocations: 229 kB / 3.117 GB, free: 321.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/7.48, allocations: 6.781 kB / 3.117 GB, free: 321.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/7.48, allocations: 26.48 kB / 3.117 GB, free: 321.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/7.48, allocations: 27.16 kB / 3.117 GB, free: 321.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.125e-05/7.48, allocations: 19.23 kB / 3.117 GB, free: 321.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001814/7.482, allocations: 0.9388 MB / 3.118 GB, free: 321.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.31e-07/7.482, allocations: 0 / 3.118 GB, free: 321.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001332/7.483, allocations: 208.9 kB / 3.118 GB, free: 321.3 MB / 0.948 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.006156/7.49, allocations: 2.168 MB / 3.12 GB, free: 320.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001432/7.491, allocations: 489.5 kB / 3.121 GB, free: 320.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/7.491, allocations: 0 / 3.121 GB, free: 320.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007027/7.492, allocations: 329.6 kB / 3.121 GB, free: 320.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009826/7.493, allocations: 97.61 kB / 3.121 GB, free: 320.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/7.496, allocations: 1.564 MB / 3.123 GB, free: 319.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/7.497, allocations: 0.9888 MB / 3.124 GB, free: 319.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005397/7.498, allocations: 137 kB / 3.124 GB, free: 319.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004421/7.498, allocations: 272.4 kB / 3.124 GB, free: 319.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.443e-06/7.498, allocations: 0 / 3.124 GB, free: 319.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08195/7.58, allocations: 22.38 MB / 3.146 GB, free: 318 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/7.581, allocations: 160.9 kB / 3.146 GB, free: 317.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.194/10.77, allocations: 0 / 3.146 GB, free: 317.8 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)