Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,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_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,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_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 91.69 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.009726/0.009727, allocations: 174.1 kB / 16.27 MB, free: 6.613 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.439/1.439, 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.707/2.707, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003585, allocations: 12 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8695/0.8699, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06465/0.9346, allocations: 59.75 MB / 1.081 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02072/0.9554, allocations: 11.93 MB / 1.093 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003174/0.9586, allocations: 55.62 kB / 1.093 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002784/0.9614, allocations: 0.5438 MB / 1.094 GB, free: 7.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007728/0.9692, allocations: 1.804 MB / 1.095 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00395/0.9732, allocations: 1.068 MB / 1.096 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006464/0.9797, allocations: 3.902 MB / 1.1 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00229/0.982, allocations: 0.8961 MB / 1.101 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003393/0.9854, allocations: 1.12 MB / 1.102 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002091/0.9875, allocations: 0.8592 MB / 1.103 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003813/0.9879, allocations: 40 kB / 1.103 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003649/0.9916, allocations: 1.333 MB / 1.104 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004847/0.9921, allocations: 214.9 kB / 1.105 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.9936, allocations: 0.6272 MB / 1.105 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004508/0.9982, allocations: 2.196 MB / 1.107 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.9982, allocations: 0 / 1.107 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9982, allocations: 4 kB / 1.107 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.363e-05/0.9983, allocations: 0 / 1.107 GB, free: 9.207 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003881/1.002, allocations: 1.481 MB / 1.109 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/1.002, allocations: 11.98 kB / 1.109 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/1.005, allocations: 474.8 kB / 1.109 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002496/1.007, allocations: 1.128 MB / 1.11 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003641/1.008, allocations: 125.9 kB / 1.11 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/1.008, allocations: 80 kB / 1.111 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002198/1.01, allocations: 1.009 MB / 1.112 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/1.01, allocations: 4 kB / 1.112 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.5e-05/1.01, allocations: 32 kB / 1.112 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/1.01, allocations: 20 kB / 1.112 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/1.013, allocations: 0.9094 MB / 1.112 GB, free: 3.789 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.007408/1.02, allocations: 4.889 MB / 1.117 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004265/1.024, allocations: 0.912 MB / 1.118 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007894/1.025, allocations: 328 kB / 1.118 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007247/1.026, allocations: 0.8947 MB / 1.119 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/1.026, allocations: 50.48 kB / 1.119 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/1.026, allocations: 0 / 1.119 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.007657/1.034, allocations: 1.951 MB / 1.121 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/1.034, allocations: 55.41 kB / 1.121 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/1.035, allocations: 1.055 MB / 1.122 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.887e-05/1.035, allocations: 37.7 kB / 1.122 GB, free: 8.984 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004449/1.036, allocations: 0.5352 MB / 1.123 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/1.036, allocations: 145.9 kB / 1.123 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.21e-05/1.036, allocations: 49.69 kB / 1.123 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.036, allocations: 329.9 kB / 1.123 GB, free: 7.918 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009341/1.037, allocations: 324.9 kB / 1.124 GB, free: 7.602 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/1.038, allocations: 0.518 MB / 1.124 GB, free: 7 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/1.04, allocations: 0.7396 MB / 1.125 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.04, allocations: 4 kB / 1.125 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003925/1.044, allocations: 1.208 MB / 1.126 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001452/1.044, allocations: 213.3 kB / 1.126 GB, free: 4.711 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.044, allocations: 4 kB / 1.126 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/1.045, allocations: 330.8 kB / 1.127 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/1.046, allocations: 131.8 kB / 1.127 GB, free: 4.254 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/1.048, allocations: 0.9425 MB / 1.128 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/1.049, allocations: 195.2 kB / 1.128 GB, free: 3.094 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/1.049, allocations: 31.97 kB / 1.128 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/1.049, allocations: 4 kB / 1.128 GB, free: 3.059 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003409/1.053, allocations: 1.062 MB / 1.129 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.053, allocations: 8.375 kB / 1.129 GB, free: 1.984 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/1.054, allocations: 326.4 kB / 1.129 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/1.054, allocations: 127.8 kB / 1.129 GB, free: 1.539 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/1.056, allocations: 0.9309 MB / 1.13 GB, free: 0.582 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/1.057, allocations: 173.3 kB / 1.13 GB, free: 424 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.88e-05/1.057, allocations: 31.98 kB / 1.13 GB, free: 392 kB / 0.8731 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006484/1.058, allocations: 352.9 kB / 1.131 GB, free: 28 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/1.058, allocations: 110.7 kB / 1.131 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002487/1.061, allocations: 0.9807 MB / 1.132 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/1.061, allocations: 8 kB / 1.132 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.061, allocations: 0 / 1.132 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/1.061, allocations: 7.984 kB / 1.132 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005272/1.066, allocations: 2.26 MB / 1.134 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/1.066, allocations: 4.281 kB / 1.134 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002907/1.066, allocations: 71.89 kB / 1.134 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/1.067, allocations: 322.1 kB / 1.134 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/1.068, allocations: 19.98 kB / 1.135 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/1.069, allocations: 0.9716 MB / 1.135 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.069, allocations: 11.94 kB / 1.135 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/1.073, allocations: 1.253 MB / 1.137 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005958/1.073, allocations: 287.4 kB / 1.137 GB, free: 9.547 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/1.074, allocations: 12 kB / 1.137 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008944/1.074, allocations: 111.9 kB / 1.137 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.686e-05/1.075, allocations: 35.95 kB / 1.137 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.051e-05/1.075, allocations: 23.98 kB / 1.137 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001199/1.076, allocations: 0.743 MB / 1.138 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.4e-07/1.076, allocations: 0 / 1.138 GB, free: 8.617 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001572/1.077, allocations: 0.5613 MB / 1.138 GB, free: 8.055 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007945/1.078, allocations: 389.2 kB / 1.139 GB, free: 7.672 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0032/1.081, allocations: 1.156 MB / 1.14 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.081, allocations: 4 kB / 1.14 GB, free: 6.512 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008876/1.082, allocations: 368.4 kB / 1.14 GB, free: 6.152 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/1.085, allocations: 0.4987 MB / 1.141 GB, free: 5.656 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/1.091, allocations: 2.561 MB / 1.143 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/1.091, allocations: 1.065 MB / 1.144 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009758/1.092, allocations: 216.7 kB / 1.145 GB, free: 1.727 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/1.093, allocations: 75.42 kB / 1.145 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of SimCode: time 6.41e-07/1.093, allocations: 0 / 1.145 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of Templates: time 0.04422/1.137, allocations: 23.8 MB / 1.168 GB, free: 10.13 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_Carnot_TEva.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches