Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 1.61/1.61, allocations: 287.4 MB / 302.6 MB, free: 8.195 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.001091/0.001092, allocations: 185.2 kB / 371.1 MB, free: 10.84 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.38/1.38, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008034/0.0008035, allocations: 94.42 kB / 0.7431 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003798, allocations: 15.52 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2016, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002046/0.2036, allocations: 1.835 MB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5212/0.7249, allocations: 136.6 MB / 1.114 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002414/0.7252, allocations: 2.906 kB / 1.114 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.7262, allocations: 0.7508 MB / 1.115 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0006701/0.7269, allocations: 463.8 kB / 1.115 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009248/0.7278, allocations: 309.4 kB / 1.115 GB, free: 1.754 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.000544/0.7284, allocations: 488.3 kB / 1.116 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.7285, allocations: 83.94 kB / 1.116 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.729, allocations: 306.6 kB / 1.116 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004627/0.7295, allocations: 387.3 kB / 1.117 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.778e-05/0.7295, allocations: 10.12 kB / 1.117 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006949/0.7302, allocations: 282.4 kB / 1.117 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.7304, allocations: 171.4 kB / 1.117 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.7306, allocations: 122.2 kB / 1.117 GB, free: 17.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006626/0.7313, allocations: 0.5198 MB / 1.118 GB, free: 17.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7313, allocations: 0 / 1.118 GB, free: 17.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7313, allocations: 0 / 1.118 GB, free: 17.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.7313, allocations: 0.8125 kB / 1.118 GB, free: 17.44 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.001393/0.7327, allocations: 0.9681 MB / 1.119 GB, free: 16.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.7327, allocations: 8.562 kB / 1.119 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.845e-05/0.7328, allocations: 54.16 kB / 1.119 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/0.7343, allocations: 199.7 kB / 1.119 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/0.7348, allocations: 495.8 kB / 1.119 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.7349, allocations: 17.88 kB / 1.119 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.7349, allocations: 16.78 kB / 1.119 GB, free: 16.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008013/0.7357, allocations: 332.6 kB / 1.12 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.7357, allocations: 0.6562 kB / 1.12 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.7358, allocations: 6.375 kB / 1.12 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.7358, allocations: 9.922 kB / 1.12 GB, free: 16.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001175/0.737, allocations: 338.9 kB / 1.12 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.7389, allocations: 1.122 MB / 1.121 GB, free: 15.76 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009428/0.7398, allocations: 396.3 kB / 1.122 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005732/0.7404, allocations: 213.2 kB / 1.122 GB, free: 15.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.7405, allocations: 7.891 kB / 1.122 GB, free: 15.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007216/0.7412, allocations: 307.8 kB / 1.122 GB, free: 15.59 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.7412, allocations: 0 / 1.122 GB, free: 15.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.007966/0.7492, allocations: 1.201 MB / 1.123 GB, free: 15.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.7492, allocations: 86.31 kB / 1.123 GB, free: 15.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.7505, allocations: 1.337 MB / 1.125 GB, free: 15.14 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.7505, allocations: 35.95 kB / 1.125 GB, free: 15.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.7508, allocations: 366.2 kB / 1.125 GB, free: 15 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.7509, allocations: 99.31 kB / 1.125 GB, free: 14.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.7509, allocations: 4.094 kB / 1.125 GB, free: 14.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.751, allocations: 321.6 kB / 1.125 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005496/0.7515, allocations: 167.7 kB / 1.126 GB, free: 14.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.7521, allocations: 238 kB / 1.126 GB, free: 14.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.7532, allocations: 390.4 kB / 1.126 GB, free: 14.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7532, allocations: 0 / 1.126 GB, free: 14.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003582/0.7568, allocations: 0.7063 MB / 1.127 GB, free: 14.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.7568, allocations: 10.02 kB / 1.127 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.7569, allocations: 0 / 1.127 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009604/0.7578, allocations: 174.8 kB / 1.127 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.7581, allocations: 69.25 kB / 1.127 GB, free: 14.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006733/0.7649, allocations: 2.096 MB / 1.129 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/0.7655, allocations: 47.97 kB / 1.129 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.7655, allocations: 18.69 kB / 1.129 GB, free: 13.05 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.0004606/0.766, allocations: 304.6 kB / 1.129 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.118e-05/0.7661, allocations: 81.38 kB / 1.13 GB, free: 12.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.77, allocations: 0.7411 MB / 1.13 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.7701, allocations: 7.75 kB / 1.13 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7701, allocations: 3.266 kB / 1.13 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.7701, allocations: 2.438 kB / 1.13 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006119/0.7707, allocations: 0.576 MB / 1.131 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.7707, allocations: 0 / 1.131 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.771, allocations: 47.23 kB / 1.131 GB, free: 12.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009347/0.7719, allocations: 175.9 kB / 1.131 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.772, allocations: 15.06 kB / 1.131 GB, free: 12.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006752/0.7787, allocations: 2.103 MB / 1.133 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7788, allocations: 5.062 kB / 1.133 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003906/0.7827, allocations: 0.7451 MB / 1.134 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002615/0.783, allocations: 157.1 kB / 1.134 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-05/0.7831, allocations: 15.25 kB / 1.134 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/0.7835, allocations: 29.91 kB / 1.134 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.198e-05/0.7836, allocations: 20.39 kB / 1.134 GB, free: 10.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.7837, allocations: 21.7 kB / 1.134 GB, free: 10.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001106/0.7848, allocations: 1.004 MB / 1.135 GB, free: 10.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7848, allocations: 4 kB / 1.135 GB, free: 10.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006346/0.7854, allocations: 112.8 kB / 1.135 GB, free: 10.84 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.004886/0.7903, allocations: 1.624 MB / 1.137 GB, free: 9.938 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001666/0.792, allocations: 0.5412 MB / 1.137 GB, free: 9.723 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.792, allocations: 5.219 kB / 1.137 GB, free: 9.719 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008881/0.7929, allocations: 358.8 kB / 1.138 GB, free: 9.547 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006998/0.7936, allocations: 117.5 kB / 1.138 GB, free: 9.508 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.8043, allocations: 5.037 MB / 1.143 GB, free: 7.324 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005383/0.8048, allocations: 0.9646 MB / 1.144 GB, free: 6.527 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004229/0.8053, allocations: 87.86 kB / 1.144 GB, free: 6.488 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003016/0.8056, allocations: 264.9 kB / 1.144 GB, free: 6.457 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/0.8056, allocations: 0 / 1.144 GB, free: 6.457 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4029/1.209, allocations: 16.82 MB / 1.16 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/1.209, allocations: 238.9 kB / 1.161 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/3.95, allocations: 2.953 kB / 1.161 GB, free: 14.1 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_8.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)