Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|chi.port_a1.m_flow|chi.port_b1.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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|chi.port_a1.m_flow|chi.port_b1.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001284, 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.011/0.011, allocations: 169.6 kB / 16.26 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.488/1.488, allocations: 223.3 MB / 240.3 MB, free: 5.359 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.722/2.722, allocations: 437.8 MB / 0.7121 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003676, allocations: 12.23 kB / 0.8728 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9078/0.9082, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05739/0.9657, allocations: 59.83 MB / 1.081 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02076/0.9865, allocations: 11.92 MB / 1.093 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003638/0.9902, allocations: 51.62 kB / 1.093 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.9926, allocations: 0.5477 MB / 1.094 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007683/1, allocations: 1.808 MB / 1.095 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003868/1.004, allocations: 1.09 MB / 1.096 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006346/1.011, allocations: 3.906 MB / 1.1 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/1.013, allocations: 0.9071 MB / 1.101 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003308/1.016, allocations: 1.131 MB / 1.102 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001718/1.018, allocations: 0.8592 MB / 1.103 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/1.018, allocations: 44 kB / 1.103 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003525/1.021, allocations: 1.345 MB / 1.104 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003141/1.022, allocations: 206.9 kB / 1.105 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/1.023, allocations: 0.6389 MB / 1.105 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004342/1.027, allocations: 2.204 MB / 1.107 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.027, allocations: 0 / 1.107 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.704e-06/1.027, allocations: 0 / 1.107 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.983e-05/1.027, allocations: 0 / 1.107 GB, free: 9.078 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003722/1.031, allocations: 1.52 MB / 1.109 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/1.031, allocations: 12.03 kB / 1.109 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00239/1.033, allocations: 470.8 kB / 1.109 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002556/1.036, allocations: 1.132 MB / 1.111 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000377/1.036, allocations: 129.9 kB / 1.111 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/1.037, allocations: 84 kB / 1.111 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/1.039, allocations: 1.028 MB / 1.112 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/1.039, allocations: 3.938 kB / 1.112 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.287e-05/1.039, allocations: 32 kB / 1.112 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/1.039, allocations: 20 kB / 1.112 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/1.042, allocations: 0.9446 MB / 1.113 GB, free: 3.559 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.007218/1.049, allocations: 4.924 MB / 1.118 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003699/1.053, allocations: 0.9119 MB / 1.118 GB, free: 13.36 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008315/1.053, allocations: 344.6 kB / 1.119 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007227/1.054, allocations: 0.8986 MB / 1.12 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/1.054, allocations: 38.5 kB / 1.12 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 3.025e-06/1.054, allocations: 0 / 1.12 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.006888/1.061, allocations: 1.837 MB / 1.121 GB, free: 10 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/1.061, allocations: 59.41 kB / 1.121 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001653/1.063, allocations: 1.06 MB / 1.123 GB, free: 8.855 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-05/1.063, allocations: 33.7 kB / 1.123 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/1.063, allocations: 0.5274 MB / 1.123 GB, free: 8.285 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/1.064, allocations: 161.7 kB / 1.123 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.277e-05/1.064, allocations: 49.69 kB / 1.123 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.064, allocations: 326 kB / 1.124 GB, free: 7.746 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/1.065, allocations: 344.9 kB / 1.124 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/1.066, allocations: 0.5528 MB / 1.124 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001856/1.068, allocations: 0.7688 MB / 1.125 GB, free: 5.945 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/1.068, allocations: 3.938 kB / 1.125 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003027/1.071, allocations: 1.086 MB / 1.126 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001703/1.071, allocations: 213 kB / 1.126 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/1.071, allocations: 8 kB / 1.126 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/1.072, allocations: 328.7 kB / 1.127 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005794/1.073, allocations: 143.7 kB / 1.127 GB, free: 4.102 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/1.075, allocations: 0.9487 MB / 1.128 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/1.076, allocations: 203.2 kB / 1.128 GB, free: 2.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.938e-05/1.076, allocations: 31.98 kB / 1.128 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/1.076, allocations: 4 kB / 1.128 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002631/1.079, allocations: 0.9529 MB / 1.129 GB, free: 1.938 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.079, allocations: 4 kB / 1.129 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/1.08, allocations: 320.6 kB / 1.129 GB, free: 1.617 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/1.081, allocations: 139.8 kB / 1.129 GB, free: 1.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/1.082, allocations: 0.9405 MB / 1.13 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/1.084, allocations: 171.3 kB / 1.131 GB, free: 356 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.814e-05/1.084, allocations: 27.98 kB / 1.131 GB, free: 328 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 (52): * Single equations (assignments): 51 * 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.0007042/1.085, allocations: 364.9 kB / 1.131 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/1.085, allocations: 110.6 kB / 1.131 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003436/1.088, allocations: 1.191 MB / 1.132 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/1.088, allocations: 4 kB / 1.132 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.088, allocations: 8 kB / 1.132 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/1.088, allocations: 0 / 1.132 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005574/1.094, allocations: 2.319 MB / 1.134 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/1.094, allocations: 0 / 1.134 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/1.094, allocations: 83.81 kB / 1.135 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/1.095, allocations: 325.4 kB / 1.135 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/1.095, allocations: 11.98 kB / 1.135 GB, free: 11.81 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001557/1.097, allocations: 0.9733 MB / 1.136 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.097, allocations: 4.062 kB / 1.136 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/1.101, allocations: 1.326 MB / 1.137 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006982/1.102, allocations: 283.4 kB / 1.137 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/1.102, allocations: 15.98 kB / 1.137 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/1.103, allocations: 127.7 kB / 1.138 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/1.103, allocations: 35.89 kB / 1.138 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.637e-05/1.103, allocations: 27.92 kB / 1.138 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.00123/1.105, allocations: 0.751 MB / 1.138 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3e-07/1.105, allocations: 0 / 1.138 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001734/1.106, allocations: 0.5536 MB / 1.139 GB, free: 7.629 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 (34): * Single equations (assignments): 29 * 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.0009044/1.107, allocations: 391.3 kB / 1.139 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00377/1.111, allocations: 1.223 MB / 1.14 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.111, allocations: 4 kB / 1.14 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/1.112, allocations: 398.8 kB / 1.141 GB, free: 5.633 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/1.115, allocations: 0.4999 MB / 1.141 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007051/1.122, allocations: 2.565 MB / 1.144 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009096/1.123, allocations: 1.073 MB / 1.145 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001169/1.125, allocations: 216.4 kB / 1.145 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/1.125, allocations: 79.42 kB / 1.145 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of SimCode: time 7.32e-07/1.125, allocations: 0 / 1.145 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of Templates: time 0.04432/1.169, allocations: 24.02 MB / 1.169 GB, free: 9.395 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches