Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,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.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,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.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.787/2.787, allocations: 436.5 MB / 0.7104 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.0003531, allocations: 8 kB / 0.8708 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9168/0.9171, allocations: 153.7 MB / 1.021 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.06317/0.9804, allocations: 62.96 MB / 1.082 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01652/0.9969, allocations: 11.01 MB / 1.093 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002462/0.9994, allocations: 51.62 kB / 1.093 GB, free: 7.043 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002888/1.002, allocations: 0.7501 MB / 1.094 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007828/1.01, allocations: 2.301 MB / 1.096 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004767/1.015, allocations: 1.515 MB / 1.098 GB, free: 2.5 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006148/1.021, allocations: 2.521 MB / 1.1 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002136/1.023, allocations: 1.039 MB / 1.101 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/1.026, allocations: 1.152 MB / 1.102 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/1.028, allocations: 0.77 MB / 1.103 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001961/1.029, allocations: 56 kB / 1.103 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003028/1.032, allocations: 0.8347 MB / 1.104 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003644/1.032, allocations: 262.9 kB / 1.104 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007684/1.033, allocations: 360.8 kB / 1.104 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00352/1.036, allocations: 2.014 MB / 1.106 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/1.036, allocations: 0 / 1.106 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.264e-06/1.036, allocations: 0 / 1.106 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.64e-05/1.036, allocations: 4 kB / 1.106 GB, free: 9.453 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004805/1.041, allocations: 1.775 MB / 1.108 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.041, allocations: 11.98 kB / 1.108 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/1.042, allocations: 237.9 kB / 1.108 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/1.046, allocations: 1.384 MB / 1.11 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/1.046, allocations: 78 kB / 1.11 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/1.046, allocations: 100 kB / 1.11 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/1.048, allocations: 1.112 MB / 1.111 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/1.048, allocations: 0 / 1.111 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.933e-05/1.048, allocations: 36 kB / 1.111 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/1.048, allocations: 28 kB / 1.111 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/1.05, allocations: 0.9173 MB / 1.112 GB, free: 3.629 MB / 0.8575 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.006673/1.057, allocations: 4.958 MB / 1.117 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/1.058, allocations: 0.6355 MB / 1.117 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006869/1.059, allocations: 0.8199 MB / 1.118 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/1.059, allocations: 47.02 kB / 1.118 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=61): time 3.015e-06/1.059, allocations: 0 / 1.118 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=61): time 0.00738/1.066, allocations: 1.877 MB / 1.12 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/1.067, allocations: 59.97 kB / 1.12 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002159/1.069, allocations: 1.249 MB / 1.121 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001389/1.069, allocations: 37.7 kB / 1.121 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000575/1.069, allocations: 0.5988 MB / 1.122 GB, free: 8.797 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/1.07, allocations: 220.8 kB / 1.122 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/1.07, allocations: 16 kB / 1.122 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.07, allocations: 334 kB / 1.122 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006632/1.071, allocations: 297.8 kB / 1.123 GB, free: 7.941 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008007/1.071, allocations: 499.9 kB / 1.123 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007429/1.072, allocations: 359 kB / 1.124 GB, free: 7.027 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/1.072, allocations: 7.938 kB / 1.124 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004902/1.077, allocations: 1.39 MB / 1.125 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006346/1.078, allocations: 1.423 MB / 1.126 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/1.078, allocations: 4 kB / 1.126 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006594/1.078, allocations: 148.6 kB / 1.126 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/1.079, allocations: 167.8 kB / 1.127 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008913/1.08, allocations: 0.7045 MB / 1.127 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.081, allocations: 167 kB / 1.127 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.084e-05/1.081, allocations: 35.98 kB / 1.128 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/1.081, allocations: 4 kB / 1.128 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004516/1.086, allocations: 1.249 MB / 1.129 GB, free: 1.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.086, allocations: 7.984 kB / 1.129 GB, free: 1.598 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005179/1.087, allocations: 145 kB / 1.129 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006297/1.087, allocations: 175.8 kB / 1.129 GB, free: 1.281 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008136/1.088, allocations: 0.7007 MB / 1.13 GB, free: 0.5547 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.089, allocations: 160.7 kB / 1.13 GB, free: 408 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.18e-05/1.089, allocations: 35.98 kB / 1.13 GB, free: 372 kB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.000729/1.09, allocations: 420.8 kB / 1.13 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003768/1.091, allocations: 130.4 kB / 1.13 GB, free: 15.81 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005359/1.096, allocations: 1.4 MB / 1.132 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.197e-05/1.096, allocations: 4 kB / 1.132 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/1.096, allocations: 0 / 1.132 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004505/1.101, allocations: 1.236 MB / 1.133 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008313/1.109, allocations: 2.758 MB / 1.136 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/1.109, allocations: 4 kB / 1.136 GB, free: 10.24 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/1.109, allocations: 115.9 kB / 1.136 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005118/1.11, allocations: 144.8 kB / 1.136 GB, free: 9.98 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/1.11, allocations: 19.98 kB / 1.136 GB, free: 9.961 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00511/1.115, allocations: 2.501 MB / 1.138 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/1.115, allocations: 12 kB / 1.138 GB, free: 7.297 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005791/1.121, allocations: 2.054 MB / 1.14 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009532/1.122, allocations: 351 kB / 1.141 GB, free: 4.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004471/1.122, allocations: 19.94 kB / 1.141 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/1.124, allocations: 95.81 kB / 1.141 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/1.124, allocations: 56.31 kB / 1.141 GB, free: 4.492 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.124, allocations: 35.97 kB / 1.141 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002311/1.127, allocations: 0.8933 MB / 1.142 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of sort global known variables: time 7.52e-07/1.127, allocations: 0 / 1.142 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.004545/1.131, allocations: 0.7251 MB / 1.143 GB, free: 2.836 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001663/1.133, allocations: 462.2 kB / 1.143 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00323/1.136, allocations: 1.156 MB / 1.144 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 8.627e-06/1.136, allocations: 0 / 1.144 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001664/1.138, allocations: 0.5994 MB / 1.145 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/1.142, allocations: 0.7358 MB / 1.145 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/1.148, allocations: 2.762 MB / 1.148 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/1.149, allocations: 1.196 MB / 1.149 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001753/1.151, allocations: 310.9 kB / 1.15 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/1.151, allocations: 103.4 kB / 1.15 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of SimCode: time 8.22e-07/1.151, allocations: 0 / 1.15 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of Templates: time 0.05225/1.204, allocations: 29.97 MB / 1.179 GB, free: 13.8 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches