Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.001025/0.001025, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007432/0.007432, allocations: 173.9 kB / 16.27 MB, free: 6.652 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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.9 MB / 0.6663 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 12 kB / 0.816 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6854/0.6858, allocations: 142.4 MB / 0.955 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.0565/0.7423, allocations: 59.83 MB / 1.013 GB, free: 3.297 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01889/0.7612, allocations: 11.94 MB / 1.025 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.7639, allocations: 55.56 kB / 1.025 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002271/0.7662, allocations: 0.5477 MB / 1.026 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006166/0.7724, allocations: 1.807 MB / 1.027 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.7757, allocations: 1.075 MB / 1.029 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005317/0.781, allocations: 3.917 MB / 1.032 GB, free: 15.92 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001946/0.783, allocations: 0.9168 MB / 1.033 GB, free: 14.97 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.7858, allocations: 1.128 MB / 1.034 GB, free: 13.84 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.7875, allocations: 0.8631 MB / 1.035 GB, free: 12.97 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.7877, allocations: 40 kB / 1.035 GB, free: 12.93 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.7908, allocations: 1.325 MB / 1.037 GB, free: 11.6 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002719/0.791, allocations: 222.8 kB / 1.037 GB, free: 11.38 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000864/0.7919, allocations: 0.6272 MB / 1.037 GB, free: 10.75 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003277/0.7952, allocations: 2.204 MB / 1.039 GB, free: 8.535 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7952, allocations: 4 kB / 1.04 GB, free: 8.531 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7952, allocations: 0 / 1.04 GB, free: 8.531 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.7953, allocations: 0 / 1.04 GB, free: 8.531 MB / 0.795 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.003011/0.7983, allocations: 1.513 MB / 1.041 GB, free: 6.961 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.7983, allocations: 8.031 kB / 1.041 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/0.8007, allocations: 478.8 kB / 1.041 GB, free: 6.484 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.803, allocations: 1.132 MB / 1.043 GB, free: 5.293 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003964/0.8034, allocations: 125.9 kB / 1.043 GB, free: 5.172 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.8035, allocations: 84 kB / 1.043 GB, free: 5.09 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.8059, allocations: 1.036 MB / 1.044 GB, free: 4.008 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.806, allocations: 7.984 kB / 1.044 GB, free: 4 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.562e-05/0.8061, allocations: 32 kB / 1.044 GB, free: 3.969 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.8061, allocations: 20 kB / 1.044 GB, free: 3.949 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002863/0.809, allocations: 0.9601 MB / 1.045 GB, free: 2.988 MB / 0.795 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.0073/0.8163, allocations: 4.903 MB / 1.05 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003831/0.8201, allocations: 0.9091 MB / 1.05 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009306/0.8211, allocations: 338 kB / 1.051 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006985/0.8218, allocations: 0.9064 MB / 1.052 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.8218, allocations: 38.56 kB / 1.052 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 1.964e-06/0.8218, allocations: 0 / 1.052 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.009921/0.8318, allocations: 2.228 MB / 1.054 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.8318, allocations: 55.41 kB / 1.054 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.8335, allocations: 1.06 MB / 1.055 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.668e-05/0.8336, allocations: 37.7 kB / 1.055 GB, free: 7.879 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005064/0.8342, allocations: 0.5312 MB / 1.055 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.8344, allocations: 157.8 kB / 1.056 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.8345, allocations: 49.69 kB / 1.056 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.8346, allocations: 329.9 kB / 1.056 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.8356, allocations: 344.9 kB / 1.056 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.8369, allocations: 0.5568 MB / 1.057 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001955/0.8388, allocations: 0.7764 MB / 1.058 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.8389, allocations: 0 / 1.058 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003062/0.8419, allocations: 1.102 MB / 1.059 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.8421, allocations: 213 kB / 1.059 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.8421, allocations: 7.938 kB / 1.059 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.8435, allocations: 324.5 kB / 1.059 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.8441, allocations: 135.8 kB / 1.059 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001584/0.8457, allocations: 0.945 MB / 1.06 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.8471, allocations: 199.3 kB / 1.06 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/0.8472, allocations: 31.98 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.8472, allocations: 4 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002752/0.85, allocations: 0.9535 MB / 1.061 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.85, allocations: 11.92 kB / 1.061 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.8512, allocations: 320.8 kB / 1.062 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005851/0.8518, allocations: 135.8 kB / 1.062 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/0.8533, allocations: 0.9388 MB / 1.063 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.8546, allocations: 183.2 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/0.8547, allocations: 31.98 kB / 1.063 GB, free: 15.34 MB / 0.8262 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.0005757/0.8553, allocations: 349.9 kB / 1.063 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.8555, allocations: 114.7 kB / 1.063 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004338/0.8598, allocations: 1.244 MB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.8599, allocations: 15.92 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8599, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.8599, allocations: 0 / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006003/0.8659, allocations: 2.339 MB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.866, allocations: 4 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003421/0.8663, allocations: 88.09 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001112/0.8674, allocations: 322.5 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.8675, allocations: 12 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/0.8691, allocations: 0.9737 MB / 1.068 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.804e-06/0.8692, allocations: 7.938 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/0.8737, allocations: 1.322 MB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006646/0.8743, allocations: 283.4 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/0.8746, allocations: 8 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.8759, allocations: 123.9 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.876, allocations: 39.83 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.8761, allocations: 23.98 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001539/0.8776, allocations: 0.7471 MB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8776, allocations: 0 / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001861/0.8795, allocations: 0.5613 MB / 1.071 GB, free: 6.586 MB / 0.8262 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.0008704/0.8804, allocations: 385 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003795/0.8842, allocations: 1.23 MB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.8842, allocations: 3.938 kB / 1.073 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.8853, allocations: 394.3 kB / 1.073 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003095/0.8884, allocations: 0.5094 MB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005889/0.8944, allocations: 2.559 MB / 1.076 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/0.895, allocations: 1.065 MB / 1.077 GB, free: 392 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001018/0.8961, allocations: 218.8 kB / 1.078 GB, free: 176 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.8963, allocations: 75.42 kB / 1.078 GB, free: 100 kB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.8963, allocations: 0 / 1.078 GB, free: 100 kB / 0.8262 GB Notification: Performance of Templates: time 0.04194/0.9382, allocations: 24.11 MB / 1.101 GB, free: 8.273 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LowTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches