Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001009/0.001009, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009238/0.009238, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.482/1.482, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.815/2.815, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003718/0.0003722, allocations: 11.98 kB / 0.8728 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8621/0.8625, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07237/0.9349, allocations: 73.44 MB / 1.095 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01853/0.9535, allocations: 12.68 MB / 1.107 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003164/0.9567, allocations: 55.62 kB / 1.107 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.9592, allocations: 0.676 MB / 1.108 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007671/0.9669, allocations: 2.268 MB / 1.11 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003527/0.9705, allocations: 1.278 MB / 1.111 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007309/0.9778, allocations: 5.542 MB / 1.117 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/0.9799, allocations: 1.141 MB / 1.118 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.9831, allocations: 1.318 MB / 1.119 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002163/0.9853, allocations: 1.135 MB / 1.12 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.9856, allocations: 56 kB / 1.12 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004538/0.9902, allocations: 1.236 MB / 1.121 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00063/0.9908, allocations: 290.6 kB / 1.122 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.9928, allocations: 0.7944 MB / 1.123 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005579/0.9984, allocations: 2.718 MB / 1.125 GB, free: 6.812 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.9984, allocations: 8 kB / 1.125 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.633e-06/0.9984, allocations: 0 / 1.125 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.057e-05/0.9984, allocations: 0 / 1.125 GB, free: 6.805 MB / 0.8731 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.003834/1.002, allocations: 1.78 MB / 1.127 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 7.958e-05/1.002, allocations: 11.98 kB / 1.127 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008741/1.003, allocations: 242.8 kB / 1.127 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/1.006, allocations: 1.485 MB / 1.129 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/1.006, allocations: 78 kB / 1.129 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/1.006, allocations: 100 kB / 1.129 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/1.009, allocations: 1.131 MB / 1.13 GB, free: 1.828 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.646e-05/1.009, allocations: 3.938 kB / 1.13 GB, free: 1.824 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.634e-05/1.009, allocations: 36 kB / 1.13 GB, free: 1.789 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.847e-05/1.009, allocations: 28 kB / 1.13 GB, free: 1.762 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/1.011, allocations: 0.9329 MB / 1.131 GB, free: 0.832 MB / 0.8731 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.006525/1.017, allocations: 4.9 MB / 1.136 GB, free: 11.64 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/1.019, allocations: 0.647 MB / 1.136 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007029/1.02, allocations: 366.3 kB / 1.137 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000707/1.02, allocations: 0.8316 MB / 1.137 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/1.02, allocations: 43.12 kB / 1.137 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 2.725e-06/1.02, allocations: 0 / 1.137 GB, free: 9.562 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.007543/1.028, allocations: 1.885 MB / 1.139 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/1.028, allocations: 55.97 kB / 1.139 GB, free: 7.582 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001711/1.03, allocations: 1.21 MB / 1.141 GB, free: 6.355 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/1.03, allocations: 45.7 kB / 1.141 GB, free: 6.305 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005237/1.03, allocations: 0.6065 MB / 1.141 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/1.031, allocations: 212.9 kB / 1.141 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/1.031, allocations: 65.69 kB / 1.141 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000142/1.031, allocations: 337.9 kB / 1.142 GB, free: 5.074 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006846/1.031, allocations: 297.8 kB / 1.142 GB, free: 4.785 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008533/1.032, allocations: 0.4998 MB / 1.143 GB, free: 4.207 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/1.034, allocations: 0.7481 MB / 1.143 GB, free: 3.406 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/1.034, allocations: 4 kB / 1.143 GB, free: 3.402 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005061/1.039, allocations: 1.413 MB / 1.145 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/1.039, allocations: 190.3 kB / 1.145 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.039, allocations: 4 kB / 1.145 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/1.04, allocations: 148.7 kB / 1.145 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/1.04, allocations: 171.8 kB / 1.145 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009485/1.041, allocations: 0.7006 MB / 1.146 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.043, allocations: 167.1 kB / 1.146 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/1.043, allocations: 32 kB / 1.146 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/1.043, allocations: 7.938 kB / 1.146 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004577/1.047, allocations: 1.257 MB / 1.147 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.048, allocations: 4 kB / 1.147 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005021/1.048, allocations: 149.1 kB / 1.147 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/1.049, allocations: 167.8 kB / 1.148 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008334/1.049, allocations: 0.7084 MB / 1.148 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/1.051, allocations: 157 kB / 1.148 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-05/1.051, allocations: 28 kB / 1.148 GB, free: 14 MB / 0.9044 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.0006634/1.051, allocations: 425.6 kB / 1.149 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/1.052, allocations: 134.4 kB / 1.149 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004899/1.057, allocations: 1.4 MB / 1.15 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.861e-05/1.057, allocations: 7.938 kB / 1.15 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.057, allocations: 0 / 1.15 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004382/1.061, allocations: 1.236 MB / 1.152 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007387/1.068, allocations: 2.747 MB / 1.154 GB, free: 7.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/1.068, allocations: 4 kB / 1.154 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005172/1.069, allocations: 115.9 kB / 1.154 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005037/1.069, allocations: 145 kB / 1.155 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-05/1.07, allocations: 20 kB / 1.155 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004985/1.075, allocations: 2.447 MB / 1.157 GB, free: 5.004 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/1.075, allocations: 4 kB / 1.157 GB, free: 5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005643/1.08, allocations: 1.848 MB / 1.159 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007803/1.081, allocations: 335.1 kB / 1.159 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003127/1.081, allocations: 16 kB / 1.159 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/1.082, allocations: 103.8 kB / 1.159 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/1.083, allocations: 64.23 kB / 1.159 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/1.083, allocations: 27.98 kB / 1.159 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001478/1.084, allocations: 0.8699 MB / 1.16 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.725e-06/1.084, allocations: 0 / 1.16 GB, free: 1.664 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002323/1.087, allocations: 0.7135 MB / 1.161 GB, free: 0.9492 MB / 0.9044 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.001013/1.088, allocations: 434.1 kB / 1.161 GB, free: 0.5234 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002853/1.09, allocations: 1.172 MB / 1.162 GB, free: 15.35 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/1.09, allocations: 4 kB / 1.162 GB, free: 15.34 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/1.092, allocations: 0.5955 MB / 1.163 GB, free: 14.73 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004544/1.097, allocations: 0.7928 MB / 1.164 GB, free: 13.95 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/1.101, allocations: 2.798 MB / 1.166 GB, free: 11.09 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.102, allocations: 1.177 MB / 1.168 GB, free: 9.883 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001363/1.104, allocations: 307 kB / 1.168 GB, free: 9.578 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/1.104, allocations: 111.4 kB / 1.168 GB, free: 9.469 MB / 0.92 GB Notification: Performance of SimCode: time 8.52e-07/1.104, allocations: 0 / 1.168 GB, free: 9.469 MB / 0.92 GB Notification: Performance of Templates: time 0.05526/1.159, allocations: 31.81 MB / 1.199 GB, free: 10.02 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches