Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0008746/0.0008743, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 181.3 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.9 MB / 0.667 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003858, allocations: 11.94 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7774/0.7778, allocations: 142.4 MB / 0.9557 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07632/0.8542, allocations: 73.45 MB / 1.027 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02279/0.877, allocations: 12.67 MB / 1.04 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003743/0.8808, allocations: 55.62 kB / 1.04 GB, free: 8.957 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00293/0.8838, allocations: 0.6759 MB / 1.041 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00831/0.8921, allocations: 2.267 MB / 1.043 GB, free: 6 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004269/0.8964, allocations: 1.272 MB / 1.044 GB, free: 4.742 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008404/0.9048, allocations: 5.535 MB / 1.049 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002873/0.9077, allocations: 1.153 MB / 1.05 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00394/0.9117, allocations: 1.318 MB / 1.052 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002696/0.9144, allocations: 1.135 MB / 1.053 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004893/0.9149, allocations: 52 kB / 1.053 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003869/0.9188, allocations: 1.243 MB / 1.054 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005979/0.9194, allocations: 282.6 kB / 1.054 GB, free: 9.969 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001886/0.9213, allocations: 0.8061 MB / 1.055 GB, free: 9.152 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003755/0.9251, allocations: 2.147 MB / 1.057 GB, free: 7 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.9251, allocations: 8 kB / 1.057 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.394e-06/0.9251, allocations: 0 / 1.057 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.858e-05/0.9252, allocations: 0 / 1.057 GB, free: 6.992 MB / 0.8106 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.004724/0.9299, allocations: 1.776 MB / 1.059 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.93, allocations: 12.03 kB / 1.059 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.9312, allocations: 242.8 kB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003227/0.9344, allocations: 1.492 MB / 1.061 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.661e-05/0.9345, allocations: 77.98 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002245/0.9348, allocations: 104 kB / 1.061 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/0.9373, allocations: 1.12 MB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.9373, allocations: 3.938 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.9375, allocations: 40 kB / 1.062 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-05/0.9375, allocations: 28 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.9398, allocations: 0.9251 MB / 1.063 GB, free: 1.023 MB / 0.8106 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.007763/0.9476, allocations: 4.911 MB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.9491, allocations: 0.6394 MB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000775/0.9499, allocations: 362.3 kB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007631/0.9507, allocations: 0.8277 MB / 1.07 GB, free: 9.809 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.9507, allocations: 43.12 kB / 1.07 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 2.104e-06/0.9508, allocations: 0 / 1.07 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.008057/0.9588, allocations: 1.885 MB / 1.071 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.9589, allocations: 63.95 kB / 1.072 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.961, allocations: 1.206 MB / 1.073 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001654/0.9612, allocations: 41.7 kB / 1.073 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006434/0.9619, allocations: 0.6104 MB / 1.073 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.9621, allocations: 212.9 kB / 1.074 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.9622, allocations: 65.67 kB / 1.074 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.9624, allocations: 341.8 kB / 1.074 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007459/0.9631, allocations: 297.8 kB / 1.074 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009319/0.9641, allocations: 0.5038 MB / 1.075 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.9656, allocations: 0.7481 MB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.9656, allocations: 0 / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005168/0.9708, allocations: 1.41 MB / 1.077 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.971, allocations: 198.3 kB / 1.077 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.971, allocations: 4 kB / 1.077 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/0.9716, allocations: 144.6 kB / 1.077 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/0.9723, allocations: 171.8 kB / 1.077 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009373/0.9733, allocations: 0.7045 MB / 1.078 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.9748, allocations: 164.5 kB / 1.078 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/0.9749, allocations: 35.98 kB / 1.078 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.9749, allocations: 5.25 kB / 1.078 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004899/0.9798, allocations: 1.253 MB / 1.079 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.9798, allocations: 4 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/0.9804, allocations: 149 kB / 1.08 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.981, allocations: 167.8 kB / 1.08 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008957/0.9819, allocations: 0.7083 MB / 1.08 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.9833, allocations: 167.2 kB / 1.081 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-05/0.9834, allocations: 31.98 kB / 1.081 GB, free: 14.17 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008034/0.9842, allocations: 413.4 kB / 1.081 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003966/0.9846, allocations: 142.3 kB / 1.081 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00526/0.9899, allocations: 1.396 MB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.9899, allocations: 8 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.9899, allocations: 3.938 kB / 1.082 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004653/0.9946, allocations: 1.232 MB / 1.084 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007916/1.003, allocations: 2.746 MB / 1.086 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/1.003, allocations: 4 kB / 1.086 GB, free: 8.066 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005195/1.003, allocations: 123.8 kB / 1.086 GB, free: 7.945 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005496/1.004, allocations: 141 kB / 1.087 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.283e-05/1.004, allocations: 23.88 kB / 1.087 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005229/1.009, allocations: 2.435 MB / 1.089 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/1.009, allocations: 7.938 kB / 1.089 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006091/1.015, allocations: 1.852 MB / 1.091 GB, free: 3.27 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008199/1.016, allocations: 331.1 kB / 1.091 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/1.016, allocations: 12 kB / 1.091 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.017, allocations: 104.1 kB / 1.091 GB, free: 2.812 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/1.018, allocations: 60.23 kB / 1.091 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/1.018, allocations: 27.98 kB / 1.091 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001713/1.019, allocations: 0.8737 MB / 1.092 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/1.019, allocations: 0 / 1.092 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002435/1.022, allocations: 0.7096 MB / 1.093 GB, free: 1.141 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001119/1.023, allocations: 441.5 kB / 1.093 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003019/1.026, allocations: 1.165 MB / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.026, allocations: 0 / 1.094 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001645/1.028, allocations: 0.6033 MB / 1.095 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004966/1.033, allocations: 0.8 MB / 1.096 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004652/1.037, allocations: 2.839 MB / 1.099 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007774/1.038, allocations: 1.169 MB / 1.1 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004257/1.039, allocations: 119.4 kB / 1.1 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of SimCode: time 1.042e-06/1.039, allocations: 0 / 1.1 GB, free: 9.91 MB / 0.8575 GB Notification: Performance of Templates: time 0.04763/1.086, allocations: 30.66 MB / 1.13 GB, free: 11.43 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches