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.391/1.391, allocations: 252 MB / 267 MB, free: 10.95 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.0009714/0.0009713, allocations: 170.6 kB / 326.6 MB, free: 2.203 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.539/1.539, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.0007463/0.0007464, allocations: 100.3 kB / 0.6823 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002933/0.0002933, allocations: 9.031 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1718, allocations: 106.4 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00202/0.1738, allocations: 1.842 MB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1278/0.3017, allocations: 136.7 MB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004741/0.3023, allocations: 3.938 kB / 1.036 GB, free: 4.863 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.3035, allocations: 0.7524 MB / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.000943/0.3045, allocations: 466.8 kB / 1.037 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.3056, allocations: 306.1 kB / 1.037 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007777/0.3064, allocations: 487 kB / 1.037 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.3066, allocations: 64.69 kB / 1.038 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006153/0.3072, allocations: 307.2 kB / 1.038 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005201/0.3077, allocations: 391.1 kB / 1.038 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 6.317e-05/0.3078, allocations: 8 kB / 1.038 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006071/0.3084, allocations: 279.5 kB / 1.039 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.3086, allocations: 171.4 kB / 1.039 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3087, allocations: 121.3 kB / 1.039 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0006316/0.3094, allocations: 0.5149 MB / 1.039 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3094, allocations: 0 / 1.039 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3094, allocations: 0 / 1.039 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.3094, allocations: 0 / 1.039 GB, free: 1.047 MB / 0.6823 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.001577/0.311, allocations: 0.9798 MB / 1.04 GB, free: 16 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.311, allocations: 8.031 kB / 1.04 GB, free: 8 kB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.791e-05/0.3111, allocations: 54.55 kB / 1.04 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001643/0.3128, allocations: 190.7 kB / 1.04 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/0.3134, allocations: 459.5 kB / 1.041 GB, free: 15.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.3135, allocations: 16.38 kB / 1.041 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.3135, allocations: 24 kB / 1.041 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009499/0.3145, allocations: 330.9 kB / 1.041 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3145, allocations: 0 / 1.041 GB, free: 14.89 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.491e-05/0.3146, allocations: 15.94 kB / 1.041 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.3146, allocations: 4 kB / 1.041 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.3159, allocations: 336.6 kB / 1.042 GB, free: 14.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.3181, allocations: 1.12 MB / 1.043 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.3192, allocations: 389.4 kB / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006769/0.3199, allocations: 213.5 kB / 1.043 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/0.32, allocations: 4 kB / 1.043 GB, free: 12.75 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008329/0.3208, allocations: 296.8 kB / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 2.364e-06/0.3208, allocations: 0 / 1.044 GB, free: 12.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.009251/0.3301, allocations: 1.203 MB / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.3302, allocations: 81.05 kB / 1.045 GB, free: 11.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.3316, allocations: 1.349 MB / 1.046 GB, free: 9.746 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.002e-05/0.3316, allocations: 29.7 kB / 1.046 GB, free: 9.711 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.3319, allocations: 372.5 kB / 1.047 GB, free: 9.344 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.332, allocations: 94.64 kB / 1.047 GB, free: 9.25 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.3321, allocations: 4 kB / 1.047 GB, free: 9.246 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.352e-05/0.3322, allocations: 325.9 kB / 1.047 GB, free: 8.922 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.3328, allocations: 171.9 kB / 1.047 GB, free: 8.754 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006584/0.3335, allocations: 233.7 kB / 1.047 GB, free: 8.504 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/0.3342, allocations: 176 kB / 1.047 GB, free: 8.332 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3342, allocations: 0 / 1.047 GB, free: 8.332 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004158/0.3384, allocations: 0.7086 MB / 1.048 GB, free: 7.613 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3384, allocations: 4 kB / 1.048 GB, free: 7.609 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.3384, allocations: 64 / 1.048 GB, free: 7.609 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001086/0.3395, allocations: 184.6 kB / 1.048 GB, free: 7.426 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.3399, allocations: 59.91 kB / 1.048 GB, free: 7.367 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007572/0.3475, allocations: 2.103 MB / 1.05 GB, free: 5.129 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005989/0.3481, allocations: 43.81 kB / 1.051 GB, free: 5.086 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.048e-05/0.3482, allocations: 15.98 kB / 1.051 GB, free: 5.07 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 (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.0004335/0.3486, allocations: 306.2 kB / 1.051 GB, free: 4.762 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.3487, allocations: 82.95 kB / 1.051 GB, free: 4.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004257/0.353, allocations: 0.746 MB / 1.052 GB, free: 3.918 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.353, allocations: 4 kB / 1.052 GB, free: 3.914 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3531, allocations: 3.953 kB / 1.052 GB, free: 3.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-06/0.3531, allocations: 3.984 kB / 1.052 GB, free: 3.906 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000737/0.3538, allocations: 0.5702 MB / 1.052 GB, free: 3.289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3538, allocations: 4 kB / 1.052 GB, free: 3.285 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.3541, allocations: 47.91 kB / 1.052 GB, free: 3.238 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009716/0.3551, allocations: 180.6 kB / 1.052 GB, free: 3.059 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.3552, allocations: 15.98 kB / 1.052 GB, free: 3.043 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007697/0.3629, allocations: 2.103 MB / 1.054 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3629, allocations: 0 / 1.054 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00432/0.3673, allocations: 0.7541 MB / 1.055 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3524/0.7197, allocations: 150.6 kB / 1.055 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.7199, allocations: 7.219 kB / 1.055 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008579/0.7208, allocations: 24.98 kB / 1.055 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.721, allocations: 27.19 kB / 1.055 GB, free: 155.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.601e-05/0.721, allocations: 20.61 kB / 1.055 GB, free: 155.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001755/0.7228, allocations: 1.001 MB / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/0.7228, allocations: 0 / 1.056 GB, free: 155.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008276/0.7237, allocations: 116.2 kB / 1.057 GB, free: 155.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 (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.00811/0.7318, allocations: 1.625 MB / 1.058 GB, free: 155 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002563/0.7344, allocations: 0.5377 MB / 1.059 GB, free: 154.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7344, allocations: 0 / 1.059 GB, free: 154.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.7358, allocations: 364 kB / 1.059 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.7368, allocations: 116.4 kB / 1.059 GB, free: 154.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/0.7523, allocations: 5.033 MB / 1.064 GB, free: 153.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007037/0.753, allocations: 0.9676 MB / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006525/0.7537, allocations: 83.03 kB / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004981/0.7542, allocations: 263.9 kB / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of SimCode: time 6.81e-07/0.7542, allocations: 0 / 1.065 GB, free: 152.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04583/0.8001, allocations: 16.87 MB / 1.082 GB, free: 146.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/0.8002, allocations: 266.2 kB / 1.082 GB, free: 146.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.133, allocations: 0 / 1.082 GB, free: 146.3 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)