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.0007933/0.0007932, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008269/0.0008269, allocations: 172.7 kB / 15.95 MB, free: 208 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.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.402 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.443/2.443, allocations: 390.9 MB / 0.666 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.000336, allocations: 12 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6548/0.6552, allocations: 142.4 MB / 0.9544 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05364/0.7089, allocations: 56.6 MB / 1.01 GB, free: 6.828 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01576/0.7247, allocations: 11.23 MB / 1.021 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002741/0.7275, allocations: 51.62 kB / 1.021 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001706/0.7292, allocations: 464.8 kB / 1.021 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004714/0.7339, allocations: 1.527 MB / 1.023 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002648/0.7366, allocations: 0.8701 MB / 1.024 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004646/0.7412, allocations: 3.394 MB / 1.027 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.7425, allocations: 0.8027 MB / 1.028 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.7446, allocations: 1.046 MB / 1.029 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.7458, allocations: 0.8166 MB / 1.029 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.7459, allocations: 40 kB / 1.029 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.7482, allocations: 1.088 MB / 1.031 GB, free: 1.438 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.7485, allocations: 199 kB / 1.031 GB, free: 1.242 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003486/0.7488, allocations: 285 kB / 1.031 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.7508, allocations: 1.643 MB / 1.033 GB, free: 15.31 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.7508, allocations: 3.938 kB / 1.033 GB, free: 15.31 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.976e-06/0.7508, allocations: 7.922 kB / 1.033 GB, free: 15.3 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.644e-05/0.7508, allocations: 0 / 1.033 GB, free: 15.3 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.002598/0.7534, allocations: 1.52 MB / 1.034 GB, free: 13.72 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.7535, allocations: 12.03 kB / 1.034 GB, free: 13.71 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.7556, allocations: 477.9 kB / 1.035 GB, free: 13.24 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/0.7576, allocations: 1.094 MB / 1.036 GB, free: 12.09 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003287/0.7579, allocations: 125.9 kB / 1.036 GB, free: 11.97 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.758, allocations: 84 kB / 1.036 GB, free: 11.89 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.7602, allocations: 1.025 MB / 1.037 GB, free: 10.82 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.7603, allocations: 0 / 1.037 GB, free: 10.82 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.911e-05/0.7603, allocations: 32 kB / 1.037 GB, free: 10.79 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.7604, allocations: 20 kB / 1.037 GB, free: 10.77 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.7628, allocations: 0.9562 MB / 1.038 GB, free: 9.809 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.006429/0.7692, allocations: 4.911 MB / 1.043 GB, free: 4.539 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/0.7725, allocations: 0.8999 MB / 1.043 GB, free: 3.633 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007832/0.7733, allocations: 337.9 kB / 1.044 GB, free: 3.301 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006466/0.774, allocations: 0.9064 MB / 1.045 GB, free: 2.191 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.774, allocations: 42.5 kB / 1.045 GB, free: 2.141 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.285e-06/0.774, allocations: 0 / 1.045 GB, free: 2.141 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.008183/0.7822, allocations: 2.212 MB / 1.047 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.7823, allocations: 59.41 kB / 1.047 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.7838, allocations: 1.048 MB / 1.048 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.392e-05/0.7839, allocations: 37.7 kB / 1.048 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004894/0.7844, allocations: 0.5351 MB / 1.049 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.7845, allocations: 153.7 kB / 1.049 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.7846, allocations: 12 kB / 1.049 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7847, allocations: 326 kB / 1.049 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008942/0.7856, allocations: 340.9 kB / 1.049 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.7867, allocations: 0.5567 MB / 1.05 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009342/0.7876, allocations: 387.5 kB / 1.05 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7876, allocations: 0 / 1.05 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002671/0.7903, allocations: 1.082 MB / 1.051 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.7905, allocations: 217.1 kB / 1.051 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.7905, allocations: 4 kB / 1.052 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.7917, allocations: 333.9 kB / 1.052 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.7923, allocations: 139.8 kB / 1.052 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.7938, allocations: 0.9328 MB / 1.053 GB, free: 9.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.795, allocations: 211.1 kB / 1.053 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.7951, allocations: 32 kB / 1.053 GB, free: 9.305 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.545e-06/0.7951, allocations: 4 kB / 1.053 GB, free: 9.301 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002525/0.7976, allocations: 0.9454 MB / 1.054 GB, free: 8.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7976, allocations: 8.062 kB / 1.054 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.7987, allocations: 320.7 kB / 1.054 GB, free: 8.027 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/0.7992, allocations: 139.8 kB / 1.054 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.8006, allocations: 0.9386 MB / 1.055 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.8016, allocations: 171.4 kB / 1.056 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/0.8017, allocations: 31.98 kB / 1.056 GB, free: 6.727 MB / 0.8106 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.0004968/0.8022, allocations: 345.5 kB / 1.056 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.8024, allocations: 122.5 kB / 1.056 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003732/0.8061, allocations: 1.245 MB / 1.057 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.8061, allocations: 7.984 kB / 1.057 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.8061, allocations: 4 kB / 1.057 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.8061, allocations: 0 / 1.057 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005067/0.8112, allocations: 2.328 MB / 1.06 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.8112, allocations: 0 / 1.06 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003869/0.8116, allocations: 84.16 kB / 1.06 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009948/0.8126, allocations: 318.5 kB / 1.06 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.715e-05/0.8127, allocations: 19.92 kB / 1.06 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.8141, allocations: 0.9698 MB / 1.061 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.8141, allocations: 7.938 kB / 1.061 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.8175, allocations: 1.318 MB / 1.062 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/0.8179, allocations: 287.4 kB / 1.062 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.8181, allocations: 8 kB / 1.062 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008581/0.8189, allocations: 115.9 kB / 1.063 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.938e-05/0.819, allocations: 39.89 kB / 1.063 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.8191, allocations: 23.98 kB / 1.063 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001086/0.8202, allocations: 0.7393 MB / 1.063 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8202, allocations: 0 / 1.063 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001458/0.8217, allocations: 0.5652 MB / 1.064 GB, free: 14 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 (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.0006781/0.8223, allocations: 370.5 kB / 1.064 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003139/0.8255, allocations: 1.23 MB / 1.065 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8255, allocations: 0 / 1.065 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0009279/0.8264, allocations: 394.2 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.8286, allocations: 0.5027 MB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/0.8337, allocations: 2.5 MB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006582/0.8343, allocations: 1.065 MB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008641/0.8352, allocations: 224.6 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.8354, allocations: 79.41 kB / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.8354, allocations: 0 / 1.07 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of Templates: time 0.03741/0.8728, allocations: 23.21 MB / 1.093 GB, free: 0.6562 MB / 0.8419 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