Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.84/1.84, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001211/0.001211, allocations: 184 kB / 371.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009416/0.0009417, allocations: 91.67 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.842e-05/3.843e-05, allocations: 0 / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3079, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.405/6.713, allocations: 2.075 GB / 3.055 GB, free: 121.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003626/6.713, allocations: 83.41 kB / 3.055 GB, free: 121.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1248/6.838, allocations: 56.42 MB / 3.11 GB, free: 71.98 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.044e-06/6.838, allocations: 0 / 3.11 GB, free: 71.98 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001153/6.838, allocations: 16 kB / 3.11 GB, free: 71.96 MB / 0.948 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.002071/6.84, allocations: 0.9036 MB / 3.111 GB, free: 71.01 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/6.84, allocations: 12.02 kB / 3.111 GB, free: 71 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/6.841, allocations: 54.55 kB / 3.111 GB, free: 70.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/6.842, allocations: 186.8 kB / 3.111 GB, free: 70.75 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/6.843, allocations: 0.523 MB / 3.112 GB, free: 70.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/6.844, allocations: 12.38 kB / 3.112 GB, free: 70.17 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.688e-05/6.844, allocations: 20 kB / 3.112 GB, free: 70.15 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/6.844, allocations: 314.9 kB / 3.112 GB, free: 69.83 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/6.844, allocations: 3.938 kB / 3.112 GB, free: 69.82 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/6.844, allocations: 11.98 kB / 3.112 GB, free: 69.81 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/6.844, allocations: 4 kB / 3.112 GB, free: 69.81 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005129/6.845, allocations: 296.8 kB / 3.113 GB, free: 69.52 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/6.847, allocations: 1.215 MB / 3.114 GB, free: 68.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/6.848, allocations: 375.4 kB / 3.114 GB, free: 67.88 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/6.848, allocations: 173.7 kB / 3.114 GB, free: 67.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-05/6.848, allocations: 8 kB / 3.114 GB, free: 67.69 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003959/6.849, allocations: 268.9 kB / 3.115 GB, free: 67.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/6.849, allocations: 0 / 3.115 GB, free: 67.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.003171/6.852, allocations: 0.6264 MB / 3.115 GB, free: 66.77 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.043e-05/6.852, allocations: 85.03 kB / 3.115 GB, free: 66.67 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/6.854, allocations: 1.216 MB / 3.116 GB, free: 65.45 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/6.854, allocations: 29.7 kB / 3.117 GB, free: 65.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002582/6.854, allocations: 368.6 kB / 3.117 GB, free: 65.05 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.366e-05/6.854, allocations: 102.6 kB / 3.117 GB, free: 64.95 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/6.854, allocations: 4 kB / 3.117 GB, free: 64.94 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.039e-05/6.855, allocations: 321.9 kB / 3.117 GB, free: 64.62 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/6.855, allocations: 146.6 kB / 3.117 GB, free: 64.48 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/6.855, allocations: 197.8 kB / 3.118 GB, free: 64.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002729/6.855, allocations: 160 kB / 3.118 GB, free: 64.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/6.855, allocations: 3.938 kB / 3.118 GB, free: 64.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002771/6.858, allocations: 0.6315 MB / 3.118 GB, free: 63.46 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/6.858, allocations: 4 kB / 3.118 GB, free: 63.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/6.858, allocations: 4 kB / 3.118 GB, free: 63.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/6.859, allocations: 124.8 kB / 3.118 GB, free: 63.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/6.859, allocations: 63.89 kB / 3.119 GB, free: 63.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/6.863, allocations: 1.862 MB / 3.12 GB, free: 61.28 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005796/6.864, allocations: 55.7 kB / 3.12 GB, free: 61.22 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/6.864, allocations: 15.98 kB / 3.12 GB, free: 61.21 MB / 0.948 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 () * 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.0001613/6.864, allocations: 120.9 kB / 3.121 GB, free: 61.08 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/6.864, allocations: 90.89 kB / 3.121 GB, free: 60.99 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00308/6.867, allocations: 0.7626 MB / 3.121 GB, free: 60.22 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/6.867, allocations: 4 kB / 3.121 GB, free: 60.21 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/6.867, allocations: 7.891 kB / 3.121 GB, free: 60.21 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/6.867, allocations: 0 / 3.121 GB, free: 60.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008362/6.868, allocations: 0.6487 MB / 3.122 GB, free: 59.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/6.868, allocations: 4 kB / 3.122 GB, free: 59.51 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/6.868, allocations: 55.97 kB / 3.122 GB, free: 59.45 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003135/6.869, allocations: 124.7 kB / 3.122 GB, free: 59.33 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/6.869, allocations: 19.97 kB / 3.122 GB, free: 59.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003638/6.873, allocations: 1.865 MB / 3.124 GB, free: 57.31 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/6.873, allocations: 0 / 3.124 GB, free: 57.31 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/6.875, allocations: 0.7193 MB / 3.125 GB, free: 56.56 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003837/6.876, allocations: 227.9 kB / 3.125 GB, free: 56.32 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/6.876, allocations: 12 kB / 3.125 GB, free: 56.31 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004602/6.876, allocations: 31.97 kB / 3.125 GB, free: 56.28 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/6.876, allocations: 27.95 kB / 3.125 GB, free: 56.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.29e-05/6.876, allocations: 15.98 kB / 3.125 GB, free: 56.23 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001254/6.878, allocations: 0.9833 MB / 3.126 GB, free: 55.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.653e-06/6.878, allocations: 3.938 kB / 3.126 GB, free: 55.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009722/6.879, allocations: 223.8 kB / 3.126 GB, free: 55.03 MB / 0.948 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.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * 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.005196/6.884, allocations: 2.103 MB / 3.128 GB, free: 53 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00101/6.885, allocations: 0.4983 MB / 3.129 GB, free: 52.49 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/6.885, allocations: 0 / 3.129 GB, free: 52.49 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005199/6.886, allocations: 346.6 kB / 3.129 GB, free: 52.14 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007155/6.886, allocations: 109.8 kB / 3.129 GB, free: 52.03 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003184/6.889, allocations: 1.592 MB / 3.131 GB, free: 50.39 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007435/6.89, allocations: 0.9927 MB / 3.132 GB, free: 49.38 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005186/6.891, allocations: 126.8 kB / 3.132 GB, free: 49.25 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004455/6.891, allocations: 267.2 kB / 3.132 GB, free: 48.99 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/6.891, allocations: 0 / 3.132 GB, free: 48.99 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06127/6.952, allocations: 30.29 MB / 3.162 GB, free: 18.82 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/6.953, allocations: 213.2 kB / 3.162 GB, free: 18.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.624/10.58, allocations: 4.062 kB / 3.162 GB, free: 18.59 MB / 0.948 GB (rm -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)