Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002175/0.002175, allocations: 190.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.238/2.238, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.378/4.378, allocations: 461.9 MB / 0.7344 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002799/0.002799, allocations: 61.89 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4937/0.4966, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.005481/0.5021, allocations: 2.265 MB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.263/0.7652, allocations: 148.4 MB / 1.199 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/0.7655, allocations: 7.938 kB / 1.2 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.7671, allocations: 0.7603 MB / 1.2 GB, free: 0.6523 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.7682, allocations: 478.8 kB / 1.201 GB, free: 188 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.7701, allocations: 366.7 kB / 1.201 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000989/0.7711, allocations: 0.5616 MB / 1.202 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.7714, allocations: 80.98 kB / 1.202 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002222/0.7736, allocations: 370.3 kB / 1.202 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007888/0.7745, allocations: 487.8 kB / 1.203 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.657e-05/0.7745, allocations: 24 kB / 1.203 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.7756, allocations: 307.5 kB / 1.203 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/0.7759, allocations: 199.6 kB / 1.203 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.7763, allocations: 261.9 kB / 1.203 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00135/0.7776, allocations: 0.7318 MB / 1.204 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.7776, allocations: 0 / 1.204 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.096e-06/0.7777, allocations: 0 / 1.204 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.7777, allocations: 0 / 1.204 GB, free: 12.85 MB / 0.9669 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.002683/0.7804, allocations: 1.065 MB / 1.205 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.7804, allocations: 8.625 kB / 1.205 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.975e-05/0.7805, allocations: 54.55 kB / 1.205 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00252/0.7831, allocations: 190.8 kB / 1.205 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009606/0.7841, allocations: 0.4908 MB / 1.206 GB, free: 10.95 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/0.7841, allocations: 16.31 kB / 1.206 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.765e-05/0.7842, allocations: 23.94 kB / 1.206 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.7857, allocations: 331.2 kB / 1.206 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.7857, allocations: 0 / 1.206 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.7858, allocations: 4 kB / 1.206 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.7858, allocations: 4 kB / 1.206 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.7879, allocations: 344.6 kB / 1.206 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003537/0.7915, allocations: 1.109 MB / 1.208 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.7933, allocations: 415 kB / 1.208 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.7944, allocations: 209.6 kB / 1.208 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.787e-05/0.7944, allocations: 15.91 kB / 1.208 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/0.7958, allocations: 313.3 kB / 1.208 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=30): time 3.957e-06/0.7958, allocations: 4 kB / 1.208 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of matching and sorting (n=30): time 0.01474/0.8106, allocations: 1.217 MB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.8108, allocations: 77.11 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.8134, allocations: 1.345 MB / 1.211 GB, free: 5.383 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.8136, allocations: 33.69 kB / 1.211 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005145/0.8141, allocations: 368.5 kB / 1.211 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.8143, allocations: 90.66 kB / 1.211 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.8145, allocations: 65.67 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.8146, allocations: 321.9 kB / 1.212 GB, free: 4.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.8157, allocations: 179.7 kB / 1.212 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.8168, allocations: 230.3 kB / 1.212 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002004/0.8188, allocations: 394.1 kB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.8188, allocations: 0 / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.006419/0.8252, allocations: 0.7208 MB / 1.213 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/0.8253, allocations: 8 kB / 1.213 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.8254, allocations: 0 / 1.213 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001572/0.8269, allocations: 180.6 kB / 1.213 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005686/0.8275, allocations: 55.97 kB / 1.214 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.84, allocations: 2.298 MB / 1.216 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009915/0.841, allocations: 44.09 kB / 1.216 GB, free: 232 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.8412, allocations: 15.98 kB / 1.216 GB, free: 216 kB / 0.9669 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.0008067/0.842, allocations: 301.7 kB / 1.216 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/0.8423, allocations: 90.89 kB / 1.216 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006748/0.8491, allocations: 0.759 MB / 1.217 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.918e-05/0.8492, allocations: 4 kB / 1.217 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.8492, allocations: 0 / 1.217 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.8492, allocations: 0 / 1.217 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/0.8506, allocations: 0.5664 MB / 1.218 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.8507, allocations: 4 kB / 1.218 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.8512, allocations: 51.91 kB / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.8527, allocations: 176.6 kB / 1.218 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.151e-05/0.8528, allocations: 15.98 kB / 1.218 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01211/0.8649, allocations: 2.287 MB / 1.22 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.865, allocations: 4.031 kB / 1.22 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006756/0.8717, allocations: 0.7549 MB / 1.221 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/0.8721, allocations: 140.1 kB / 1.221 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002191/0.8724, allocations: 15.94 kB / 1.221 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007509/0.8731, allocations: 31.88 kB / 1.221 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.8733, allocations: 23.97 kB / 1.221 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.11e-05/0.8734, allocations: 15.98 kB / 1.221 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001728/0.8752, allocations: 1.003 MB / 1.222 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8752, allocations: 3.938 kB / 1.222 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00092/0.8761, allocations: 111.9 kB / 1.222 GB, free: 9.617 MB / 0.9825 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.008981/0.8851, allocations: 1.632 MB / 1.224 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003413/0.8886, allocations: 0.5848 MB / 1.224 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.8886, allocations: 0 / 1.224 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.8904, allocations: 354.5 kB / 1.225 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.8918, allocations: 127.3 kB / 1.225 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02858/0.9204, allocations: 6.726 MB / 1.231 GB, free: 100 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/0.9215, allocations: 0.9684 MB / 1.232 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008525/0.9224, allocations: 86.92 kB / 1.232 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005965/0.923, allocations: 259.3 kB / 1.232 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of SimCode: time 1.703e-06/0.923, allocations: 0 / 1.232 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.988/3.911, allocations: 17.62 MB / 1.25 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003129/3.911, allocations: 278.8 kB / 1.25 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.253/9.164, allocations: 0 / 1.25 GB, free: 193.4 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)