Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.port_a2.m_flow|heaPum.port_b2.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.port_a2.m_flow|heaPum.port_b2.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007945/0.0007946, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009039/0.0009039, allocations: 168.7 kB / 15.95 MB, free: 204 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.359/1.359, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.618/2.618, allocations: 437.7 MB / 0.7117 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005363/0.0005366, allocations: 12 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6233/0.6239, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05242/0.6763, allocations: 56.58 MB / 1.078 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0151/0.6915, allocations: 11.24 MB / 1.089 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001918/0.6934, allocations: 51.62 kB / 1.089 GB, free: 12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001528/0.695, allocations: 472.8 kB / 1.089 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004215/0.6992, allocations: 1.531 MB / 1.091 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00247/0.7017, allocations: 0.8618 MB / 1.091 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004206/0.7059, allocations: 3.398 MB / 1.095 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.7073, allocations: 0.8066 MB / 1.096 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.7093, allocations: 1.034 MB / 1.097 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/0.7106, allocations: 0.8166 MB / 1.097 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.7107, allocations: 44 kB / 1.097 GB, free: 3.008 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.7131, allocations: 1.091 MB / 1.098 GB, free: 1.914 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.7133, allocations: 203 kB / 1.099 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.7137, allocations: 285 kB / 1.099 GB, free: 1.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001973/0.7157, allocations: 1.639 MB / 1.101 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.7157, allocations: 4 kB / 1.101 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7157, allocations: 0 / 1.101 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.712e-05/0.7157, allocations: 0 / 1.101 GB, free: 15.79 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.002709/0.7184, allocations: 1.524 MB / 1.102 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.7185, allocations: 8.031 kB / 1.102 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.7205, allocations: 477.8 kB / 1.103 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.7226, allocations: 1.09 MB / 1.104 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003466/0.723, allocations: 137.9 kB / 1.104 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.7231, allocations: 80 kB / 1.104 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.7252, allocations: 1.025 MB / 1.105 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.7252, allocations: 0 / 1.105 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.412e-05/0.7253, allocations: 35.98 kB / 1.105 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.7253, allocations: 23.94 kB / 1.105 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002397/0.7277, allocations: 0.9485 MB / 1.106 GB, free: 10.29 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.006421/0.7342, allocations: 4.922 MB / 1.111 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003231/0.7374, allocations: 0.898 MB / 1.111 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000768/0.7382, allocations: 349.1 kB / 1.112 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006327/0.7389, allocations: 0.9064 MB / 1.113 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.7389, allocations: 38.52 kB / 1.113 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 2.424e-06/0.7389, allocations: 0 / 1.113 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.008146/0.7471, allocations: 2.207 MB / 1.115 GB, free: 376 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.7471, allocations: 55.41 kB / 1.115 GB, free: 308 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.7487, allocations: 1.056 MB / 1.116 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.7488, allocations: 41.7 kB / 1.116 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/0.7492, allocations: 0.5273 MB / 1.116 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.7493, allocations: 153.8 kB / 1.117 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.7494, allocations: 12 kB / 1.117 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.7495, allocations: 325.9 kB / 1.117 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008968/0.7504, allocations: 340.9 kB / 1.117 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.7515, allocations: 0.5607 MB / 1.118 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009304/0.7524, allocations: 359.8 kB / 1.118 GB, free: 12.83 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.7524, allocations: 8 kB / 1.118 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002993/0.7554, allocations: 1.082 MB / 1.119 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.7556, allocations: 223.3 kB / 1.119 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.7557, allocations: 7.984 kB / 1.119 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.7569, allocations: 328.5 kB / 1.12 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/0.7575, allocations: 139.8 kB / 1.12 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.7589, allocations: 0.9407 MB / 1.121 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.7602, allocations: 199.2 kB / 1.121 GB, free: 9.824 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.086e-05/0.7603, allocations: 35.98 kB / 1.121 GB, free: 9.789 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/0.7603, allocations: 4 kB / 1.121 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00244/0.7628, allocations: 0.9488 MB / 1.122 GB, free: 8.832 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7628, allocations: 8.375 kB / 1.122 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.7638, allocations: 332.6 kB / 1.122 GB, free: 8.496 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.7644, allocations: 139.8 kB / 1.122 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.7657, allocations: 0.9326 MB / 1.123 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.7668, allocations: 179.4 kB / 1.124 GB, free: 7.227 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/0.7669, allocations: 27.98 kB / 1.124 GB, free: 7.199 MB / 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 (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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005163/0.7674, allocations: 356.9 kB / 1.124 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.7676, allocations: 110.6 kB / 1.124 GB, free: 6.73 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/0.7713, allocations: 1.251 MB / 1.125 GB, free: 5.465 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.7714, allocations: 8 kB / 1.125 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7714, allocations: 0 / 1.125 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.7714, allocations: 3.984 kB / 1.125 GB, free: 5.453 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004988/0.7764, allocations: 2.335 MB / 1.128 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/0.7764, allocations: 4 kB / 1.128 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.7767, allocations: 80.17 kB / 1.128 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000978/0.7777, allocations: 316.6 kB / 1.128 GB, free: 2.641 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.7778, allocations: 19.95 kB / 1.128 GB, free: 2.621 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.7792, allocations: 0.9753 MB / 1.129 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7792, allocations: 0 / 1.129 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/0.7827, allocations: 1.31 MB / 1.13 GB, free: 268 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004939/0.7832, allocations: 287.5 kB / 1.13 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.7833, allocations: 12 kB / 1.13 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008735/0.7842, allocations: 123.9 kB / 1.131 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.7843, allocations: 31.95 kB / 1.131 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.114e-05/0.7844, allocations: 19.98 kB / 1.131 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001138/0.7855, allocations: 0.7393 MB / 1.131 GB, free: 15.03 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2e-07/0.7855, allocations: 3.938 kB / 1.131 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001464/0.787, allocations: 0.5574 MB / 1.132 GB, free: 14.46 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 (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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006649/0.7877, allocations: 375.4 kB / 1.132 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003127/0.7908, allocations: 1.219 MB / 1.133 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7908, allocations: 4 kB / 1.133 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009469/0.7918, allocations: 394.4 kB / 1.134 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.794, allocations: 0.5034 MB / 1.134 GB, free: 12 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/0.7992, allocations: 2.516 MB / 1.137 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.7997, allocations: 1.065 MB / 1.138 GB, free: 8.332 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009145/0.8007, allocations: 225.5 kB / 1.138 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.8009, allocations: 71.42 kB / 1.138 GB, free: 8.043 MB / 0.8887 GB Notification: Performance of SimCode: time 6.91e-07/0.8009, allocations: 3.938 kB / 1.138 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of Templates: time 0.03584/0.8367, allocations: 23.2 MB / 1.161 GB, free: 1.125 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches