Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.port_a1.m_flow|chi.port_b1.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.port_a1.m_flow|chi.port_b1.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.26/2.26, allocations: 390.3 MB / 402.8 MB, free: 6.703 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 176.4 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 221.3 MB / 0.7915 GB, free: 5.484 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 87.95 kB / 0.9317 GB, free: 5.797 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.482e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3151, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.277/1.592, allocations: 435.4 MB / 1.644 GB, free: 15.09 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/1.592, allocations: 87.95 kB / 1.644 GB, free: 15.01 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 2.806/4.399, allocations: 0.6514 GB / 2.295 GB, free: 240.7 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.433e-06/4.399, allocations: 3.75 kB / 2.295 GB, free: 240.7 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001203/4.399, allocations: 35.48 kB / 2.296 GB, free: 240.7 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00315/4.402, allocations: 1.508 MB / 2.297 GB, free: 239.5 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/4.402, allocations: 6.781 kB / 2.297 GB, free: 239.5 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/4.404, allocations: 448.5 kB / 2.297 GB, free: 239.4 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002799/4.407, allocations: 1.309 MB / 2.299 GB, free: 238.4 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003388/4.407, allocations: 127.3 kB / 2.299 GB, free: 238.4 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/4.407, allocations: 88.25 kB / 2.299 GB, free: 238.3 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/4.409, allocations: 0.87 MB / 2.3 GB, free: 237.8 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/4.409, allocations: 4.453 kB / 2.3 GB, free: 237.8 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.034e-05/4.409, allocations: 35.86 kB / 2.3 GB, free: 237.8 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/4.409, allocations: 31.39 kB / 2.3 GB, free: 237.8 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/4.41, allocations: 0.6555 MB / 2.3 GB, free: 237.5 MB / 1.135 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005449/4.415, allocations: 4.726 MB / 2.305 GB, free: 233.4 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002192/4.418, allocations: 0.6876 MB / 2.306 GB, free: 233.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/4.418, allocations: 209.1 kB / 2.306 GB, free: 233 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005128/4.418, allocations: 0.9071 MB / 2.307 GB, free: 231.9 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/4.419, allocations: 34.53 kB / 2.307 GB, free: 231.9 MB / 1.135 GB Notification: Performance of pre-optimization done (n=43): time 2.414e-06/4.419, allocations: 3.938 kB / 2.307 GB, free: 231.9 MB / 1.135 GB Notification: Performance of matching and sorting (n=43): time 0.002462/4.421, allocations: 0.7772 MB / 2.308 GB, free: 231.5 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/4.421, allocations: 57.62 kB / 2.308 GB, free: 231.4 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/4.422, allocations: 0.9072 MB / 2.309 GB, free: 231 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 6.337e-05/4.422, allocations: 39.77 kB / 2.309 GB, free: 230.9 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/4.423, allocations: 0.5346 MB / 2.309 GB, free: 230.4 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/4.423, allocations: 150.9 kB / 2.309 GB, free: 230.3 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/4.423, allocations: 11.88 kB / 2.309 GB, free: 230.3 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.43e-05/4.423, allocations: 333 kB / 2.31 GB, free: 230 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/4.423, allocations: 184.9 kB / 2.31 GB, free: 229.9 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/4.424, allocations: 426.9 kB / 2.31 GB, free: 229.5 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/4.424, allocations: 219.4 kB / 2.31 GB, free: 229.4 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/4.424, allocations: 3.688 kB / 2.31 GB, free: 229.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001113/4.425, allocations: 0.7177 MB / 2.311 GB, free: 229 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003262/4.425, allocations: 1.668 MB / 2.313 GB, free: 227.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/4.425, allocations: 3.719 kB / 2.313 GB, free: 227.3 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008318/4.426, allocations: 257.9 kB / 2.313 GB, free: 227.2 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005268/4.427, allocations: 128.4 kB / 2.313 GB, free: 227.1 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007979/4.428, allocations: 0.8313 MB / 2.314 GB, free: 226.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/4.429, allocations: 207 kB / 2.314 GB, free: 226.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-05/4.429, allocations: 33.61 kB / 2.314 GB, free: 226.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/4.429, allocations: 3.969 kB / 2.314 GB, free: 226.4 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001007/4.43, allocations: 0.5933 MB / 2.315 GB, free: 226.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/4.43, allocations: 3.938 kB / 2.315 GB, free: 226.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006863/4.431, allocations: 249.3 kB / 2.315 GB, free: 226 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/4.431, allocations: 130.5 kB / 2.315 GB, free: 225.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000728/4.432, allocations: 0.8288 MB / 2.316 GB, free: 225.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/4.433, allocations: 176.1 kB / 2.316 GB, free: 225.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.736e-05/4.433, allocations: 36.41 kB / 2.316 GB, free: 225.2 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002162/4.434, allocations: 132.8 kB / 2.316 GB, free: 225 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/4.434, allocations: 120.9 kB / 2.316 GB, free: 225 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/4.437, allocations: 0.9487 MB / 2.317 GB, free: 224.5 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/4.437, allocations: 7.75 kB / 2.317 GB, free: 224.5 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/4.437, allocations: 0 / 2.317 GB, free: 224.5 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/4.437, allocations: 7.922 kB / 2.317 GB, free: 224.5 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004565/4.441, allocations: 2.004 MB / 2.319 GB, free: 223.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/4.441, allocations: 2.781 kB / 2.319 GB, free: 223.1 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/4.442, allocations: 75.89 kB / 2.319 GB, free: 223.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007982/4.443, allocations: 267.9 kB / 2.32 GB, free: 223 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/4.443, allocations: 11.03 kB / 2.32 GB, free: 223 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008953/4.444, allocations: 0.8614 MB / 2.32 GB, free: 222.3 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/4.444, allocations: 3.844 kB / 2.32 GB, free: 222.3 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/4.447, allocations: 1.297 MB / 2.322 GB, free: 221.5 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006426/4.448, allocations: 286.2 kB / 2.322 GB, free: 221.2 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/4.448, allocations: 11.28 kB / 2.322 GB, free: 221.2 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00093/4.449, allocations: 122.1 kB / 2.322 GB, free: 221.2 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/4.449, allocations: 42.97 kB / 2.322 GB, free: 221.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-05/4.449, allocations: 21.64 kB / 2.322 GB, free: 221.2 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001143/4.45, allocations: 0.7127 MB / 2.323 GB, free: 220.8 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.5e-07/4.45, allocations: 0 / 2.323 GB, free: 220.8 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.002417/4.452, allocations: 0.6258 MB / 2.323 GB, free: 220.2 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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: 4 * 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 {3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.00154/4.454, allocations: 0.6682 MB / 2.324 GB, free: 219.7 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.00198/4.456, allocations: 0.8727 MB / 2.325 GB, free: 218.8 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/4.456, allocations: 0 / 2.325 GB, free: 218.8 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0005665/4.457, allocations: 305.5 kB / 2.325 GB, free: 218.5 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002238/4.459, allocations: 0.4948 MB / 2.326 GB, free: 218.1 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/4.463, allocations: 1.604 MB / 2.327 GB, free: 216.4 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/4.464, allocations: 1.088 MB / 2.328 GB, free: 215.3 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001241/4.465, allocations: 277.2 kB / 2.329 GB, free: 215.1 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/4.465, allocations: 59.42 kB / 2.329 GB, free: 215 MB / 1.135 GB Notification: Performance of SimCode: time 1.573e-06/4.465, allocations: 0 / 2.329 GB, free: 215 MB / 1.135 GB Notification: Performance of Templates: time 0.04095/4.506, allocations: 29.49 MB / 2.358 GB, free: 186.6 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches