Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.122/2.122, allocations: 251 MB / 265.9 MB, free: 11.7 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.001633/0.001632, allocations: 183.1 kB / 325.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.421/2.421, allocations: 205.4 MB / 0.5764 GB, free: 21.14 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.001133/0.001133, allocations: 104.4 kB / 0.6809 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004807, allocations: 13.19 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2087, allocations: 106.3 MB / 0.8988 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.551/7.76, allocations: 2.192 GB / 3.091 GB, free: 250.6 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/7.76, allocations: 85.53 kB / 3.091 GB, free: 250.6 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.2469/8.007, allocations: 55.47 MB / 3.145 GB, free: 244.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.106e-06/8.007, allocations: 0 / 3.145 GB, free: 244.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001587/8.007, allocations: 15.72 kB / 3.145 GB, free: 244.3 MB / 0.8855 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.003941/8.011, allocations: 1.046 MB / 3.146 GB, free: 243.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/8.012, allocations: 15.09 kB / 3.146 GB, free: 243.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002/8.012, allocations: 48.45 kB / 3.146 GB, free: 243.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003876/8.016, allocations: 198.2 kB / 3.147 GB, free: 243.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/8.018, allocations: 0.5273 MB / 3.147 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.069e-05/8.018, allocations: 19.39 kB / 3.147 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/8.018, allocations: 18.94 kB / 3.147 GB, free: 243.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/8.02, allocations: 337 kB / 3.148 GB, free: 243 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/8.021, allocations: 3.906 kB / 3.148 GB, free: 243 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.402e-05/8.021, allocations: 7.734 kB / 3.148 GB, free: 243 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/8.021, allocations: 3.906 kB / 3.148 GB, free: 243 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003337/8.024, allocations: 363.4 kB / 3.148 GB, free: 243 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005131/8.029, allocations: 1.209 MB / 3.149 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/8.032, allocations: 414.8 kB / 3.149 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.56e-05/8.032, allocations: 11.92 kB / 3.149 GB, free: 242.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001835/8.034, allocations: 317.9 kB / 3.15 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=30): time 4.879e-06/8.034, allocations: 0 / 3.15 GB, free: 242.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.02293/8.057, allocations: 1.22 MB / 3.151 GB, free: 242.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/8.057, allocations: 83.77 kB / 3.151 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004884/8.062, allocations: 1.233 MB / 3.152 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001768/8.062, allocations: 36.55 kB / 3.152 GB, free: 241.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006207/8.063, allocations: 361 kB / 3.153 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/8.063, allocations: 104.8 kB / 3.153 GB, free: 241.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.668e-05/8.063, allocations: 13 kB / 3.153 GB, free: 241.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001082/8.063, allocations: 323 kB / 3.153 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/8.065, allocations: 174.9 kB / 3.153 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/8.067, allocations: 237.2 kB / 3.153 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/8.069, allocations: 185.9 kB / 3.154 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.148e-06/8.069, allocations: 0 / 3.154 GB, free: 241.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.01065/8.079, allocations: 0.7218 MB / 3.154 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/8.079, allocations: 5.531 kB / 3.154 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/8.079, allocations: 3.906 kB / 3.154 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00247/8.082, allocations: 179 kB / 3.154 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008905/8.083, allocations: 60.69 kB / 3.155 GB, free: 241.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/8.102, allocations: 2.183 MB / 3.157 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/8.104, allocations: 46.91 kB / 3.157 GB, free: 239.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/8.104, allocations: 19.34 kB / 3.157 GB, free: 239.9 MB / 0.8855 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.0009552/8.105, allocations: 297.3 kB / 3.157 GB, free: 239.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004582/8.106, allocations: 82.22 kB / 3.157 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01172/8.117, allocations: 0.8413 MB / 3.158 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/8.117, allocations: 11.84 kB / 3.158 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/8.117, allocations: 384 / 3.158 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.707e-05/8.117, allocations: 7 kB / 3.158 GB, free: 239.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/8.12, allocations: 0.6518 MB / 3.159 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/8.12, allocations: 4 kB / 3.159 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000926/8.121, allocations: 57.7 kB / 3.159 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002733/8.123, allocations: 180.5 kB / 3.159 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/8.124, allocations: 18.97 kB / 3.159 GB, free: 239.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/8.144, allocations: 2.162 MB / 3.161 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.827e-06/8.144, allocations: 5.531 kB / 3.161 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01141/8.155, allocations: 0.8093 MB / 3.162 GB, free: 237.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008209/8.156, allocations: 225.7 kB / 3.162 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003985/8.156, allocations: 11.47 kB / 3.162 GB, free: 237.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/8.158, allocations: 32.58 kB / 3.162 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/8.158, allocations: 28.78 kB / 3.162 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/8.158, allocations: 13.23 kB / 3.162 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003034/8.161, allocations: 1.001 MB / 3.163 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.032e-06/8.161, allocations: 0 / 3.163 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001913/8.163, allocations: 227.9 kB / 3.163 GB, free: 237.6 MB / 0.8855 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) * Number of clocked states: 0 () * 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.01437/8.178, allocations: 2.231 MB / 3.165 GB, free: 236.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004402/8.182, allocations: 0.5827 MB / 3.166 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/8.182, allocations: 0 / 3.166 GB, free: 236.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002477/8.185, allocations: 377.5 kB / 3.166 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/8.187, allocations: 111.2 kB / 3.166 GB, free: 236.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02725/8.214, allocations: 5.71 MB / 3.172 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008779/8.215, allocations: 0.989 MB / 3.173 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001191/8.216, allocations: 138.4 kB / 3.173 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009038/8.217, allocations: 263.6 kB / 3.173 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.403e-06/8.217, allocations: 0 / 3.173 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08168/8.299, allocations: 28.43 MB / 3.201 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/8.299, allocations: 242.8 kB / 3.201 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.783/12.08, allocations: 0 / 3.201 GB, free: 220.9 MB / 0.8855 GB