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.254/1.254, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.0008367/0.0008367, allocations: 182.4 kB / 325.9 MB, free: 2.688 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.31/1.31, allocations: 205 MB / 0.576 GB, free: 21 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.0006506/0.0006506, allocations: 87.69 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000289/0.0002891, allocations: 11.69 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.166, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.001983/0.168, allocations: 1.928 MB / 0.8981 GB, free: 66.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1266/0.2947, allocations: 148.2 MB / 1.043 GB, free: 13.42 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.2949, allocations: 0 / 1.043 GB, free: 13.42 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007762/0.2957, allocations: 0.768 MB / 1.044 GB, free: 12.65 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005378/0.2963, allocations: 482.8 kB / 1.044 GB, free: 12.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007127/0.297, allocations: 324.6 kB / 1.044 GB, free: 11.86 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004329/0.2974, allocations: 0.5381 MB / 1.045 GB, free: 11.32 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.2976, allocations: 84.64 kB / 1.045 GB, free: 11.25 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001337/0.2989, allocations: 323.2 kB / 1.045 GB, free: 10.94 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.2993, allocations: 455.7 kB / 1.046 GB, free: 10.5 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.42e-05/0.2994, allocations: 12 kB / 1.046 GB, free: 10.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004597/0.2998, allocations: 291.5 kB / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.3, allocations: 179.7 kB / 1.046 GB, free: 10.02 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.3002, allocations: 242 kB / 1.046 GB, free: 9.785 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005954/0.3008, allocations: 0.6927 MB / 1.047 GB, free: 9.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3008, allocations: 0 / 1.047 GB, free: 9.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3008, allocations: 0 / 1.047 GB, free: 9.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.3008, allocations: 0 / 1.047 GB, free: 9.09 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.001217/0.302, allocations: 0.9641 MB / 1.048 GB, free: 8.074 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3021, allocations: 12.03 kB / 1.048 GB, free: 8.062 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.3021, allocations: 58.55 kB / 1.048 GB, free: 7.996 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.3035, allocations: 202.7 kB / 1.048 GB, free: 7.797 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/0.304, allocations: 486.8 kB / 1.049 GB, free: 7.281 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.304, allocations: 16.36 kB / 1.049 GB, free: 7.266 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.304, allocations: 20 kB / 1.049 GB, free: 7.246 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000766/0.3048, allocations: 330.9 kB / 1.049 GB, free: 6.906 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3048, allocations: 3.938 kB / 1.049 GB, free: 6.902 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.3049, allocations: 8 kB / 1.049 GB, free: 6.895 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3049, allocations: 8 kB / 1.049 GB, free: 6.887 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/0.306, allocations: 336.7 kB / 1.049 GB, free: 6.559 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.3077, allocations: 1.116 MB / 1.05 GB, free: 5.383 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.3089, allocations: 393.4 kB / 1.051 GB, free: 4.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/0.3096, allocations: 209.6 kB / 1.051 GB, free: 4.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.3097, allocations: 15.92 kB / 1.051 GB, free: 4.754 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008378/0.3105, allocations: 300.8 kB / 1.051 GB, free: 4.441 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 2.124e-06/0.3105, allocations: 0 / 1.051 GB, free: 4.441 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.008629/0.3192, allocations: 1.203 MB / 1.053 GB, free: 3.211 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3192, allocations: 81.11 kB / 1.053 GB, free: 3.113 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.3204, allocations: 1.345 MB / 1.054 GB, free: 1.754 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.3204, allocations: 33.7 kB / 1.054 GB, free: 1.715 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.3207, allocations: 364.5 kB / 1.054 GB, free: 1.355 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.553e-05/0.3207, allocations: 98.64 kB / 1.054 GB, free: 1.258 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.3208, allocations: 29.72 kB / 1.054 GB, free: 1.223 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.238e-05/0.3209, allocations: 325.9 kB / 1.055 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005458/0.3214, allocations: 171.9 kB / 1.055 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005761/0.322, allocations: 237.7 kB / 1.055 GB, free: 488 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.3232, allocations: 392.8 kB / 1.055 GB, free: 80 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3232, allocations: 0 / 1.055 GB, free: 80 kB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.3055/0.6287, allocations: 0.6956 MB / 1.056 GB, free: 161 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.6287, allocations: 7.219 kB / 1.056 GB, free: 161 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6287, allocations: 0 / 1.056 GB, free: 161 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008736/0.6296, allocations: 186.3 kB / 1.056 GB, free: 161 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.6299, allocations: 62.45 kB / 1.056 GB, free: 161 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005843/0.6358, allocations: 2.096 MB / 1.058 GB, free: 159.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.6363, allocations: 48.42 kB / 1.058 GB, free: 159.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.6363, allocations: 22.31 kB / 1.059 GB, free: 159.7 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 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * 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.0002938/0.6366, allocations: 293 kB / 1.059 GB, free: 159.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.024e-05/0.6367, allocations: 87.39 kB / 1.059 GB, free: 159.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/0.6402, allocations: 0.7451 MB / 1.06 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6402, allocations: 5.625 kB / 1.06 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6402, allocations: 0.5625 kB / 1.06 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.6403, allocations: 1.219 kB / 1.06 GB, free: 159.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.6408, allocations: 0.5703 MB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.6408, allocations: 5.75 kB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.641, allocations: 54.41 kB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008251/0.6419, allocations: 177.5 kB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.6419, allocations: 13.94 kB / 1.06 GB, free: 159.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005913/0.6478, allocations: 2.104 MB / 1.062 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.6479, allocations: 0 / 1.062 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003394/0.6513, allocations: 0.7523 MB / 1.063 GB, free: 157.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.213e-05/0.6514, allocations: 148 kB / 1.063 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.138e-05/0.6514, allocations: 7.172 kB / 1.063 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003807/0.6518, allocations: 29.56 kB / 1.063 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/0.6519, allocations: 27.3 kB / 1.063 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-05/0.6519, allocations: 18.27 kB / 1.063 GB, free: 157.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001034/0.653, allocations: 1.003 MB / 1.064 GB, free: 157.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.653, allocations: 0.8125 kB / 1.064 GB, free: 157.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004399/0.6534, allocations: 112.5 kB / 1.065 GB, free: 157.6 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.004403/0.6578, allocations: 1.629 MB / 1.066 GB, free: 156.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.6594, allocations: 0.5512 MB / 1.067 GB, free: 156.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6594, allocations: 0 / 1.067 GB, free: 156.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008378/0.6603, allocations: 365.2 kB / 1.067 GB, free: 156.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006077/0.6609, allocations: 116.8 kB / 1.067 GB, free: 156.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.674, allocations: 6.691 MB / 1.074 GB, free: 154.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004617/0.6745, allocations: 0.9675 MB / 1.075 GB, free: 153.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003827/0.6749, allocations: 90.67 kB / 1.075 GB, free: 153.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.6752, allocations: 263.2 kB / 1.075 GB, free: 153.4 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.6752, allocations: 1.531 kB / 1.075 GB, free: 153.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4166/1.092, allocations: 16.87 MB / 1.091 GB, free: 141.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/1.092, allocations: 284.7 kB / 1.092 GB, free: 141.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.706/3.798, allocations: 0 / 1.092 GB, free: 141.2 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)