Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|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",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|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",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.31/2.31, allocations: 390.3 MB / 402.8 MB, free: 6.723 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.001147/0.001147, allocations: 180.9 kB / 496.1 MB, free: 12.88 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.606/1.606, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001166/0.001167, allocations: 95.89 kB / 0.9318 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.609e-05, allocations: 8 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3147, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.298/1.613, allocations: 435.3 MB / 1.644 GB, free: 15.17 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/1.613, allocations: 88.95 kB / 1.644 GB, free: 15.09 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 4.487/6.1, allocations: 1.068 GB / 2.712 GB, free: 248.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.074e-06/6.1, allocations: 6.781 kB / 2.712 GB, free: 248.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001232/6.1, allocations: 35.91 kB / 2.712 GB, free: 248.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003362/6.104, allocations: 1.483 MB / 2.713 GB, free: 247.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/6.104, allocations: 7.156 kB / 2.713 GB, free: 247.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001507/6.105, allocations: 356.2 kB / 2.714 GB, free: 247.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/6.108, allocations: 1.258 MB / 2.715 GB, free: 246.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003605/6.108, allocations: 125.5 kB / 2.715 GB, free: 246.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/6.108, allocations: 86.12 kB / 2.715 GB, free: 246.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/6.11, allocations: 0.8585 MB / 2.716 GB, free: 246.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/6.11, allocations: 4.531 kB / 2.716 GB, free: 246.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.682e-05/6.11, allocations: 31.88 kB / 2.716 GB, free: 246.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/6.11, allocations: 28.36 kB / 2.716 GB, free: 246.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009681/6.111, allocations: 0.6274 MB / 2.716 GB, free: 246.1 MB / 1.151 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.005718/6.117, allocations: 4.626 MB / 2.721 GB, free: 242.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008704/6.117, allocations: 446.5 kB / 2.721 GB, free: 242.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/6.118, allocations: 193.9 kB / 2.722 GB, free: 242.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/6.119, allocations: 1.373 MB / 2.723 GB, free: 241 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/6.119, allocations: 42 kB / 2.723 GB, free: 241 MB / 1.151 GB Notification: Performance of pre-optimization done (n=42): time 2.635e-06/6.119, allocations: 0 / 2.723 GB, free: 241 MB / 1.151 GB Notification: Performance of matching and sorting (n=42): time 0.002542/6.121, allocations: 0.7395 MB / 2.724 GB, free: 240.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/6.121, allocations: 55.28 kB / 2.724 GB, free: 240.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/6.123, allocations: 0.9048 MB / 2.725 GB, free: 240.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.581e-05/6.123, allocations: 37.02 kB / 2.725 GB, free: 240.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/6.123, allocations: 0.5303 MB / 2.725 GB, free: 239.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/6.123, allocations: 150 kB / 2.725 GB, free: 239.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/6.123, allocations: 11.41 kB / 2.725 GB, free: 239.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.089e-05/6.123, allocations: 321.6 kB / 2.726 GB, free: 239.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/6.124, allocations: 165.3 kB / 2.726 GB, free: 239.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/6.124, allocations: 405.7 kB / 2.726 GB, free: 239 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/6.124, allocations: 224.3 kB / 2.726 GB, free: 238.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/6.124, allocations: 0 / 2.726 GB, free: 238.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001114/6.125, allocations: 0.6806 MB / 2.727 GB, free: 238.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003155/6.126, allocations: 1.579 MB / 2.729 GB, free: 237 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/6.126, allocations: 11.56 kB / 2.729 GB, free: 237 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008323/6.127, allocations: 256.5 kB / 2.729 GB, free: 236.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/6.127, allocations: 109.3 kB / 2.729 GB, free: 236.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007276/6.128, allocations: 0.826 MB / 2.73 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/6.129, allocations: 180.1 kB / 2.73 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/6.129, allocations: 36.02 kB / 2.73 GB, free: 236.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/6.129, allocations: 2.75 kB / 2.73 GB, free: 236.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008891/6.13, allocations: 0.5579 MB / 2.731 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/6.13, allocations: 6.969 kB / 2.731 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006585/6.131, allocations: 250.1 kB / 2.731 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/6.131, allocations: 116.8 kB / 2.731 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006438/6.132, allocations: 0.8107 MB / 2.732 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/6.133, allocations: 164.5 kB / 2.732 GB, free: 235.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.808e-05/6.133, allocations: 32.11 kB / 2.732 GB, free: 235.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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.0002007/6.133, allocations: 138.3 kB / 2.732 GB, free: 235.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/6.134, allocations: 113.6 kB / 2.732 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002664/6.136, allocations: 0.9199 MB / 2.733 GB, free: 234.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/6.136, allocations: 3.906 kB / 2.733 GB, free: 234.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/6.136, allocations: 0 / 2.733 GB, free: 234.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/6.136, allocations: 3.938 kB / 2.733 GB, free: 234.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/6.14, allocations: 1.957 MB / 2.735 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/6.14, allocations: 3.938 kB / 2.735 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/6.14, allocations: 59.25 kB / 2.735 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007031/6.141, allocations: 249.2 kB / 2.735 GB, free: 233.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/6.141, allocations: 17.8 kB / 2.735 GB, free: 233.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007329/6.142, allocations: 0.857 MB / 2.736 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/6.142, allocations: 11.23 kB / 2.736 GB, free: 233.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/6.144, allocations: 1.111 MB / 2.737 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005809/6.145, allocations: 272.7 kB / 2.737 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/6.145, allocations: 15.61 kB / 2.737 GB, free: 232.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007707/6.146, allocations: 101.5 kB / 2.738 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.429e-05/6.146, allocations: 41.45 kB / 2.738 GB, free: 232.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/6.146, allocations: 22.33 kB / 2.738 GB, free: 232.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009376/6.147, allocations: 0.7064 MB / 2.738 GB, free: 231.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 2e-07/6.147, allocations: 0 / 2.738 GB, free: 231.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002031/6.149, allocations: 0.637 MB / 2.739 GB, free: 231.8 MB / 1.151 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 (31): * Single equations (assignments): 26 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001383/6.151, allocations: 0.6909 MB / 2.74 GB, free: 231.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001834/6.152, allocations: 0.8216 MB / 2.74 GB, free: 231.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/6.152, allocations: 0 / 2.74 GB, free: 231.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004307/6.153, allocations: 264.8 kB / 2.741 GB, free: 231.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002396/6.155, allocations: 0.4984 MB / 2.741 GB, free: 231.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003128/6.158, allocations: 1.331 MB / 2.742 GB, free: 230.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006256/6.159, allocations: 1.087 MB / 2.743 GB, free: 229.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001272/6.16, allocations: 269.5 kB / 2.744 GB, free: 229.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/6.16, allocations: 57.17 kB / 2.744 GB, free: 229.7 MB / 1.151 GB Notification: Performance of SimCode: time 8.01e-07/6.16, allocations: 3.391 kB / 2.744 GB, free: 229.7 MB / 1.151 GB Notification: Performance of Templates: time 0.0453/6.206, allocations: 29.48 MB / 2.773 GB, free: 211.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches