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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001055/0.001055, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001282, allocations: 173 kB / 16.92 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.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.45/2.45, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0004001, allocations: 11.98 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.7151, allocations: 142.4 MB / 0.9557 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05819/0.7733, allocations: 59.83 MB / 1.014 GB, free: 3.406 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01719/0.7905, allocations: 11.94 MB / 1.026 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.793, allocations: 51.62 kB / 1.026 GB, free: 7.383 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00226/0.7953, allocations: 0.5516 MB / 1.026 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006211/0.8016, allocations: 1.811 MB / 1.028 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003529/0.8051, allocations: 1.079 MB / 1.029 GB, free: 3.941 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005649/0.8108, allocations: 3.917 MB / 1.033 GB, free: 16 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.8129, allocations: 0.909 MB / 1.034 GB, free: 15.07 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003155/0.8161, allocations: 1.131 MB / 1.035 GB, free: 13.94 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.818, allocations: 0.8631 MB / 1.036 GB, free: 13.07 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003899/0.8184, allocations: 40 kB / 1.036 GB, free: 13.03 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003362/0.8218, allocations: 1.329 MB / 1.037 GB, free: 11.7 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004803/0.8223, allocations: 210.9 kB / 1.037 GB, free: 11.49 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.8237, allocations: 0.6427 MB / 1.038 GB, free: 10.84 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00281/0.8265, allocations: 1.695 MB / 1.04 GB, free: 9.141 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.8265, allocations: 7.922 kB / 1.04 GB, free: 9.133 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8265, allocations: 0 / 1.04 GB, free: 9.133 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.405e-05/0.8266, allocations: 0 / 1.04 GB, free: 9.133 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.003525/0.8301, allocations: 1.505 MB / 1.041 GB, free: 7.57 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.8302, allocations: 11.97 kB / 1.041 GB, free: 7.559 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/0.8326, allocations: 478.8 kB / 1.042 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.8352, allocations: 1.132 MB / 1.043 GB, free: 5.898 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004019/0.8356, allocations: 129.9 kB / 1.043 GB, free: 5.773 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002203/0.8359, allocations: 80 kB / 1.043 GB, free: 5.695 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/0.8385, allocations: 1.028 MB / 1.044 GB, free: 4.621 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.8386, allocations: 4 kB / 1.044 GB, free: 4.617 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.8387, allocations: 32 kB / 1.044 GB, free: 4.586 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.8387, allocations: 20 kB / 1.044 GB, free: 4.566 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002831/0.8416, allocations: 0.9601 MB / 1.045 GB, free: 3.605 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.008332/0.8499, allocations: 4.903 MB / 1.05 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003843/0.8538, allocations: 0.9208 MB / 1.051 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009629/0.8548, allocations: 334.2 kB / 1.051 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000757/0.8556, allocations: 0.9064 MB / 1.052 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.8557, allocations: 38.56 kB / 1.052 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 3.336e-06/0.8557, allocations: 0 / 1.052 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.01002/0.8657, allocations: 2.228 MB / 1.054 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.8658, allocations: 59.41 kB / 1.054 GB, free: 9.602 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.8679, allocations: 1.056 MB / 1.055 GB, free: 8.531 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.8681, allocations: 37.7 kB / 1.055 GB, free: 8.488 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004945/0.8686, allocations: 0.5313 MB / 1.056 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.8689, allocations: 153.8 kB / 1.056 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.869, allocations: 49.69 kB / 1.056 GB, free: 7.746 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.8691, allocations: 329.9 kB / 1.056 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.8702, allocations: 348.9 kB / 1.057 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.8716, allocations: 0.5529 MB / 1.057 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.8737, allocations: 0.7725 MB / 1.058 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.8737, allocations: 0 / 1.058 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003357/0.8771, allocations: 1.097 MB / 1.059 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/0.8773, allocations: 213.2 kB / 1.059 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.8773, allocations: 4 kB / 1.059 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001422/0.8787, allocations: 342 kB / 1.059 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.8794, allocations: 131.8 kB / 1.06 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/0.8811, allocations: 0.9425 MB / 1.06 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.8827, allocations: 203.3 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.8829, allocations: 27.98 kB / 1.061 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.8829, allocations: 4 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002852/0.8857, allocations: 0.9532 MB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.8858, allocations: 7.938 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.887, allocations: 330.9 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005905/0.8876, allocations: 131.8 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.8892, allocations: 0.9386 MB / 1.063 GB, free: 176 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.8907, allocations: 175.3 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.8908, allocations: 32.11 kB / 1.063 GB, free: 15.96 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.0006857/0.8915, allocations: 356.9 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/0.8918, allocations: 110.7 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00438/0.8962, allocations: 1.246 MB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/0.8962, allocations: 15.92 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.046e-06/0.8962, allocations: 0 / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.507e-06/0.8963, allocations: 0 / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006384/0.9026, allocations: 2.34 MB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/0.9027, allocations: 8.031 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.9031, allocations: 79.88 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.9043, allocations: 330.6 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/0.9043, allocations: 12 kB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.906, allocations: 0.9698 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.906, allocations: 7.938 kB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004349/0.9104, allocations: 1.318 MB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007075/0.9111, allocations: 283.4 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002706/0.9114, allocations: 12 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.9125, allocations: 119.9 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.9127, allocations: 39.89 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-05/0.9128, allocations: 31.92 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001541/0.9143, allocations: 0.7432 MB / 1.071 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3e-07/0.9143, allocations: 4 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002054/0.9164, allocations: 0.5689 MB / 1.072 GB, free: 7.195 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.001001/0.9174, allocations: 387.9 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00379/0.9212, allocations: 1.226 MB / 1.073 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.9213, allocations: 3.938 kB / 1.073 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.9224, allocations: 398.3 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/0.9258, allocations: 0.5033 MB / 1.074 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00654/0.9324, allocations: 2.582 MB / 1.077 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/0.9332, allocations: 1.069 MB / 1.078 GB, free: 0.9609 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.9335, allocations: 79.41 kB / 1.078 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of SimCode: time 8.11e-07/0.9335, allocations: 0 / 1.078 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of Templates: time 0.03564/0.9692, allocations: 23.94 MB / 1.101 GB, free: 9.109 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/jenkins1/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