Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.00108, allocations: 98.88 kB / 16.02 MB, free: 76 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.001444/0.001445, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.435/1.435, allocations: 223.3 MB / 241 MB, free: 5.348 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.496/2.496, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.0003675, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7171/0.7175, allocations: 142.4 MB / 0.9557 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05605/0.7736, allocations: 59.79 MB / 1.014 GB, free: 3.406 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01704/0.7907, allocations: 11.92 MB / 1.026 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002287/0.793, allocations: 47.69 kB / 1.026 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001918/0.795, allocations: 0.5438 MB / 1.026 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005606/0.8006, allocations: 1.801 MB / 1.028 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.8037, allocations: 1.094 MB / 1.029 GB, free: 3.969 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005065/0.8088, allocations: 3.902 MB / 1.033 GB, free: 60 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001544/0.8104, allocations: 0.9039 MB / 1.034 GB, free: 15.12 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002601/0.813, allocations: 1.116 MB / 1.035 GB, free: 14 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.8144, allocations: 0.8514 MB / 1.036 GB, free: 13.15 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.8146, allocations: 40 kB / 1.036 GB, free: 13.11 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002788/0.8174, allocations: 1.349 MB / 1.037 GB, free: 11.76 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.8176, allocations: 210.9 kB / 1.037 GB, free: 11.55 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007372/0.8184, allocations: 0.6272 MB / 1.038 GB, free: 10.91 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.8206, allocations: 1.707 MB / 1.04 GB, free: 9.203 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.8207, allocations: 0 / 1.04 GB, free: 9.203 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8207, allocations: 0 / 1.04 GB, free: 9.203 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.81e-05/0.8207, allocations: 0 / 1.04 GB, free: 9.203 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002721/0.8234, allocations: 1.489 MB / 1.041 GB, free: 7.656 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.8235, allocations: 12.03 kB / 1.041 GB, free: 7.645 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.8252, allocations: 379 kB / 1.041 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/0.8273, allocations: 1.136 MB / 1.043 GB, free: 6.078 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003625/0.8276, allocations: 129.9 kB / 1.043 GB, free: 5.953 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.8278, allocations: 80 kB / 1.043 GB, free: 5.875 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.8297, allocations: 0.97 MB / 1.044 GB, free: 4.859 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.8298, allocations: 7.922 kB / 1.044 GB, free: 4.852 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-05/0.8298, allocations: 32 kB / 1.044 GB, free: 4.82 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.8299, allocations: 20 kB / 1.044 GB, free: 4.801 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.832, allocations: 0.847 MB / 1.045 GB, free: 3.953 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.006709/0.8387, allocations: 4.796 MB / 1.049 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.8404, allocations: 0.5902 MB / 1.05 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006261/0.841, allocations: 290 kB / 1.05 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001472/0.8425, allocations: 1.392 MB / 1.051 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.8425, allocations: 34.56 kB / 1.051 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=43): time 3.417e-06/0.8425, allocations: 4 kB / 1.051 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=43): time 0.009017/0.8516, allocations: 2.056 MB / 1.053 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.8517, allocations: 63.34 kB / 1.054 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.8535, allocations: 1.051 MB / 1.055 GB, free: 8.953 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.8536, allocations: 37.7 kB / 1.055 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004659/0.8541, allocations: 0.5235 MB / 1.055 GB, free: 8.383 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.8542, allocations: 149.8 kB / 1.055 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.578e-05/0.8543, allocations: 49.7 kB / 1.055 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8545, allocations: 330 kB / 1.056 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007919/0.8553, allocations: 284.9 kB / 1.056 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009599/0.8562, allocations: 0.4903 MB / 1.056 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.8577, allocations: 0.6587 MB / 1.057 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.8577, allocations: 0 / 1.057 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002639/0.8604, allocations: 0.9843 MB / 1.058 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.8606, allocations: 212.2 kB / 1.058 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.8606, allocations: 4 kB / 1.058 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.862, allocations: 332.5 kB / 1.059 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.8624, allocations: 115.9 kB / 1.059 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.864, allocations: 0.9309 MB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.8654, allocations: 187.2 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-05/0.8655, allocations: 27.98 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.8655, allocations: 4 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002266/0.8678, allocations: 0.844 MB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.8678, allocations: 4 kB / 1.061 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.869, allocations: 322.7 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.8694, allocations: 123.8 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.8709, allocations: 0.9364 MB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.8722, allocations: 155.4 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.8722, allocations: 24 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.0005845/0.8728, allocations: 356.9 kB / 1.062 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.873, allocations: 110.6 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003845/0.8769, allocations: 1.159 MB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.8769, allocations: 4 kB / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.8769, allocations: 0 / 1.064 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.877, allocations: 7.922 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005316/0.8823, allocations: 2.165 MB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/0.8823, allocations: 4 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.8826, allocations: 55.91 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.8837, allocations: 334.8 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.8837, allocations: 12 kB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.8853, allocations: 0.9738 MB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.8854, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003648/0.889, allocations: 1.195 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006916/0.8897, allocations: 279.4 kB / 1.069 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/0.89, allocations: 8 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.8911, allocations: 103.8 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.583e-05/0.8912, allocations: 39.83 kB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-05/0.8913, allocations: 31.92 kB / 1.069 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001233/0.8925, allocations: 0.7389 MB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.8925, allocations: 0 / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001802/0.8943, allocations: 0.5692 MB / 1.07 GB, free: 8.652 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 (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009804/0.8953, allocations: 408.5 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002933/0.8982, allocations: 1.058 MB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.8983, allocations: 0 / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007988/0.8991, allocations: 333.4 kB / 1.072 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/0.9021, allocations: 0.502 MB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.9061, allocations: 2.297 MB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007328/0.9069, allocations: 1.058 MB / 1.076 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002871/0.9072, allocations: 83.42 kB / 1.076 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of SimCode: time 8.92e-07/0.9072, allocations: 0 / 1.076 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of Templates: time 0.03585/0.943, allocations: 23.76 MB / 1.099 GB, free: 11.25 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches