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.308/1.308, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009447/0.0009448, allocations: 179.4 kB / 327 MB, free: 2.109 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.567/1.567, allocations: 205.4 MB / 0.578 GB, free: 20.09 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.0007455/0.0007455, allocations: 101.6 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003324, allocations: 9 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1936, allocations: 106.3 MB / 0.9009 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00276/0.1964, allocations: 1.908 MB / 0.9028 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1486/0.3451, allocations: 146.6 MB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003195/0.3455, allocations: 7.875 kB / 1.046 GB, free: 10.4 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009285/0.3464, allocations: 0.772 MB / 1.047 GB, free: 9.625 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006301/0.347, allocations: 478.8 kB / 1.047 GB, free: 9.156 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008511/0.3479, allocations: 327.8 kB / 1.047 GB, free: 8.84 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005553/0.3485, allocations: 0.5498 MB / 1.048 GB, free: 8.289 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.3487, allocations: 68.73 kB / 1.048 GB, free: 8.227 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.3502, allocations: 328.5 kB / 1.048 GB, free: 7.914 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004829/0.3507, allocations: 455.7 kB / 1.049 GB, free: 7.469 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.677e-05/0.3507, allocations: 12 kB / 1.049 GB, free: 7.457 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005528/0.3513, allocations: 287.5 kB / 1.049 GB, free: 7.176 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.3515, allocations: 179.7 kB / 1.049 GB, free: 7 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002292/0.3517, allocations: 267.6 kB / 1.049 GB, free: 6.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006901/0.3524, allocations: 0.6969 MB / 1.05 GB, free: 6.031 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3524, allocations: 7.938 kB / 1.05 GB, free: 6.023 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3524, allocations: 0 / 1.05 GB, free: 6.023 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3524, allocations: 0 / 1.05 GB, free: 6.023 MB / 0.698 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.001434/0.3539, allocations: 0.9603 MB / 1.051 GB, free: 5.012 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3539, allocations: 8.031 kB / 1.051 GB, free: 5.004 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.356e-05/0.354, allocations: 54.55 kB / 1.051 GB, free: 4.941 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.3555, allocations: 194.7 kB / 1.051 GB, free: 4.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/0.356, allocations: 490.7 kB / 1.052 GB, free: 4.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.3561, allocations: 16.38 kB / 1.052 GB, free: 4.215 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.383e-05/0.3561, allocations: 23.98 kB / 1.052 GB, free: 4.191 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008862/0.357, allocations: 338.8 kB / 1.052 GB, free: 3.844 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.357, allocations: 0 / 1.052 GB, free: 3.844 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.3571, allocations: 8 kB / 1.052 GB, free: 3.836 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.3571, allocations: 4 kB / 1.052 GB, free: 3.832 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.3583, allocations: 340.7 kB / 1.053 GB, free: 3.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.3604, allocations: 1.105 MB / 1.054 GB, free: 2.336 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.3615, allocations: 403.7 kB / 1.054 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006482/0.3621, allocations: 200.4 kB / 1.054 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.815e-05/0.3622, allocations: 19.92 kB / 1.054 GB, free: 1.707 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000807/0.363, allocations: 304.8 kB / 1.054 GB, free: 1.391 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 3.186e-06/0.363, allocations: 3.984 kB / 1.054 GB, free: 1.387 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.008942/0.372, allocations: 1.207 MB / 1.056 GB, free: 156 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.372, allocations: 85.05 kB / 1.056 GB, free: 52 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3788/0.7508, allocations: 1.347 MB / 1.057 GB, free: 157 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.751, allocations: 32.3 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.7513, allocations: 362.2 kB / 1.057 GB, free: 156.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.016e-05/0.7513, allocations: 93.03 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.7514, allocations: 7.188 kB / 1.058 GB, free: 156.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.88e-05/0.7514, allocations: 318 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000631/0.7521, allocations: 174.6 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/0.7527, allocations: 226.4 kB / 1.058 GB, free: 156.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.7539, allocations: 401.7 kB / 1.059 GB, free: 156.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.7539, allocations: 5.125 kB / 1.059 GB, free: 156.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003699/0.7576, allocations: 0.7075 MB / 1.059 GB, free: 156.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.7577, allocations: 9.375 kB / 1.059 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7577, allocations: 3.656 kB / 1.059 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009573/0.7586, allocations: 176.7 kB / 1.059 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003071/0.759, allocations: 60.27 kB / 1.06 GB, free: 156.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006655/0.7656, allocations: 2.102 MB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/0.7661, allocations: 43.73 kB / 1.062 GB, free: 155.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.7661, allocations: 13.56 kB / 1.062 GB, free: 155.1 MB / 0.698 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003006/0.7665, allocations: 303.2 kB / 1.062 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.7665, allocations: 82.25 kB / 1.062 GB, free: 154.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003964/0.7705, allocations: 0.7352 MB / 1.063 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.7705, allocations: 5.531 kB / 1.063 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.7705, allocations: 0 / 1.063 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.7705, allocations: 2.016 kB / 1.063 GB, free: 154.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.7711, allocations: 0.5782 MB / 1.063 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.7712, allocations: 3.75 kB / 1.063 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.7714, allocations: 50.94 kB / 1.063 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009459/0.7724, allocations: 180.3 kB / 1.064 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.7724, allocations: 13.91 kB / 1.064 GB, free: 154.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006715/0.7792, allocations: 2.106 MB / 1.066 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7792, allocations: 1 kB / 1.066 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003996/0.7832, allocations: 0.7463 MB / 1.066 GB, free: 153.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001532/0.7834, allocations: 155.8 kB / 1.066 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.354e-05/0.7834, allocations: 14.33 kB / 1.066 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004445/0.7839, allocations: 27.95 kB / 1.067 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.784, allocations: 21.53 kB / 1.067 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.01e-05/0.7841, allocations: 18.91 kB / 1.067 GB, free: 153 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001615/0.7857, allocations: 1.002 MB / 1.068 GB, free: 152.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.403e-06/0.7857, allocations: 2.359 kB / 1.068 GB, free: 152.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006486/0.7864, allocations: 112.6 kB / 1.068 GB, free: 152.9 MB / 0.698 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.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005226/0.7916, allocations: 1.634 MB / 1.069 GB, free: 152.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.7934, allocations: 0.5485 MB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7934, allocations: 0.7188 kB / 1.07 GB, free: 152 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009471/0.7944, allocations: 357.9 kB / 1.07 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.7951, allocations: 117.2 kB / 1.07 GB, free: 151.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/0.8102, allocations: 6.722 MB / 1.077 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005375/0.8108, allocations: 0.968 MB / 1.078 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004156/0.8112, allocations: 91.56 kB / 1.078 GB, free: 148.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.8115, allocations: 263.3 kB / 1.078 GB, free: 148.7 MB / 0.698 GB Notification: Performance of SimCode: time 8.42e-07/0.8115, allocations: 0 / 1.078 GB, free: 148.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.8409, allocations: 16.87 MB / 1.095 GB, free: 136.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.8412, allocations: 288.5 kB / 1.095 GB, free: 136 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.21/3.051, allocations: 8 kB / 1.095 GB, free: 136 MB / 0.698 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)