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.419/2.419, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.001313/0.001313, allocations: 187 kB / 0.4902 GB, free: 2.285 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.000948/0.000948, allocations: 95.27 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003729, allocations: 11.34 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3238, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/1.43, allocations: 435.5 MB / 1.654 GB, free: 10.76 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/1.43, allocations: 96.02 kB / 1.655 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.167/3.598, allocations: 0.6535 GB / 2.308 GB, free: 12.05 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.834e-06/3.598, allocations: 0 / 2.308 GB, free: 12.05 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002535/3.598, allocations: 28 kB / 2.308 GB, free: 12.03 MB / 1.167 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.006631/3.605, allocations: 1.746 MB / 2.31 GB, free: 10.21 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.755e-05/3.605, allocations: 16.02 kB / 2.31 GB, free: 10.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002526/3.607, allocations: 449.8 kB / 2.31 GB, free: 9.758 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003805/3.611, allocations: 1.32 MB / 2.312 GB, free: 8.383 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/3.611, allocations: 122.1 kB / 2.312 GB, free: 8.262 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002654/3.612, allocations: 80 kB / 2.312 GB, free: 8.184 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/3.614, allocations: 1.033 MB / 2.313 GB, free: 7.105 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/3.614, allocations: 7.938 kB / 2.313 GB, free: 7.098 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/3.614, allocations: 32 kB / 2.313 GB, free: 7.066 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/3.614, allocations: 26 kB / 2.313 GB, free: 7.039 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/3.617, allocations: 0.9329 MB / 2.314 GB, free: 6.105 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.006911/3.623, allocations: 4.764 MB / 2.318 GB, free: 1.016 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/3.627, allocations: 0.8784 MB / 2.319 GB, free: 132 kB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7544/4.381, allocations: 0.9028 MB / 2.32 GB, free: 250.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/4.381, allocations: 39.66 kB / 2.32 GB, free: 250.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 4.458e-06/4.381, allocations: 3.844 kB / 2.32 GB, free: 250.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=43): time 0.008894/4.39, allocations: 2.074 MB / 2.322 GB, free: 250.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/4.39, allocations: 53.81 kB / 2.322 GB, free: 250.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/4.392, allocations: 0.9559 MB / 2.323 GB, free: 250.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/4.392, allocations: 34.55 kB / 2.323 GB, free: 250.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005072/4.393, allocations: 0.5339 MB / 2.324 GB, free: 250.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/4.393, allocations: 148.4 kB / 2.324 GB, free: 250.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/4.393, allocations: 8.875 kB / 2.324 GB, free: 250.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.669e-05/4.393, allocations: 328.6 kB / 2.324 GB, free: 249.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000989/4.394, allocations: 321.7 kB / 2.324 GB, free: 249.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/4.395, allocations: 0.5577 MB / 2.325 GB, free: 249.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/4.396, allocations: 361 kB / 2.325 GB, free: 249.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/4.396, allocations: 7.172 kB / 2.325 GB, free: 249.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.003019/4.399, allocations: 1.039 MB / 2.326 GB, free: 249.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005549/4.4, allocations: 1.671 MB / 2.328 GB, free: 247.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/4.4, allocations: 5.219 kB / 2.328 GB, free: 247.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001593/4.401, allocations: 356.6 kB / 2.328 GB, free: 247.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/4.402, allocations: 129.8 kB / 2.328 GB, free: 247.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001771/4.404, allocations: 0.9763 MB / 2.329 GB, free: 247.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/4.406, allocations: 205.2 kB / 2.33 GB, free: 247.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.811e-05/4.406, allocations: 34.19 kB / 2.33 GB, free: 247.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/4.406, allocations: 5.031 kB / 2.33 GB, free: 247.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002652/4.408, allocations: 0.9174 MB / 2.331 GB, free: 247.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/4.408, allocations: 4.531 kB / 2.331 GB, free: 247.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/4.41, allocations: 348.1 kB / 2.331 GB, free: 247.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/4.41, allocations: 132.7 kB / 2.331 GB, free: 247.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/4.412, allocations: 0.9709 MB / 2.332 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/4.413, allocations: 178.1 kB / 2.332 GB, free: 246.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/4.414, allocations: 30.48 kB / 2.332 GB, free: 246.7 MB / 1.167 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 () * Number of clocked 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.000763/4.414, allocations: 353.2 kB / 2.333 GB, free: 246.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/4.415, allocations: 111.4 kB / 2.333 GB, free: 246.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004307/4.419, allocations: 1.213 MB / 2.334 GB, free: 246.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/4.419, allocations: 7.375 kB / 2.334 GB, free: 246.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/4.419, allocations: 0.6094 kB / 2.334 GB, free: 246.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/4.419, allocations: 3.828 kB / 2.334 GB, free: 246.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006414/4.425, allocations: 2.271 MB / 2.336 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/4.425, allocations: 5.734 kB / 2.336 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003828/4.426, allocations: 76.61 kB / 2.336 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/4.427, allocations: 360.2 kB / 2.336 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.171e-05/4.427, allocations: 15.67 kB / 2.336 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/4.429, allocations: 1.007 MB / 2.337 GB, free: 245.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/4.429, allocations: 2.594 kB / 2.337 GB, free: 245.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005135/4.434, allocations: 1.555 MB / 2.339 GB, free: 245 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007787/4.435, allocations: 283.8 kB / 2.339 GB, free: 244.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/4.435, allocations: 14.22 kB / 2.339 GB, free: 244.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009747/4.436, allocations: 119.6 kB / 2.339 GB, free: 244.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/4.436, allocations: 43.3 kB / 2.339 GB, free: 244.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/4.436, allocations: 21.09 kB / 2.339 GB, free: 244.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001457/4.438, allocations: 0.7516 MB / 2.34 GB, free: 244.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/4.438, allocations: 4.125 kB / 2.34 GB, free: 244.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002705/4.44, allocations: 0.6312 MB / 2.341 GB, free: 244.7 MB / 1.167 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 () * 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: 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.001597/4.442, allocations: 0.6782 MB / 2.341 GB, free: 244.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004106/4.446, allocations: 1.209 MB / 2.343 GB, free: 244.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/4.446, allocations: 1.312 kB / 2.343 GB, free: 244.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/4.447, allocations: 413.8 kB / 2.343 GB, free: 244.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002628/4.45, allocations: 0.4909 MB / 2.343 GB, free: 244.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006039/4.456, allocations: 2.509 MB / 2.346 GB, free: 243.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007781/4.457, allocations: 1.09 MB / 2.347 GB, free: 242.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001259/4.458, allocations: 209.2 kB / 2.347 GB, free: 242.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/4.458, allocations: 80.89 kB / 2.347 GB, free: 242.8 MB / 1.167 GB Notification: Performance of SimCode: time 9.31e-07/4.458, allocations: 2.156 kB / 2.347 GB, free: 242.8 MB / 1.167 GB Notification: Performance of Templates: time 0.04219/4.5, allocations: 26.81 MB / 2.373 GB, free: 242.4 MB / 1.167 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