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.001179/0.001179, allocations: 91.84 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.001604/0.001604, 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.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.305 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.429/2.429, allocations: 390.9 MB / 0.666 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003539, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6451/0.6455, allocations: 142.4 MB / 0.9544 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06155/0.7071, allocations: 56.55 MB / 1.01 GB, free: 6.938 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.7236, allocations: 11.23 MB / 1.021 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.726, allocations: 51.62 kB / 1.021 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002211/0.7282, allocations: 464.9 kB / 1.021 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005468/0.7337, allocations: 1.52 MB / 1.023 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.7368, allocations: 0.8656 MB / 1.023 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005597/0.7424, allocations: 3.39 MB / 1.027 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.7443, allocations: 0.7937 MB / 1.028 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003066/0.7474, allocations: 1.038 MB / 1.029 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00187/0.7493, allocations: 0.7971 MB / 1.029 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003085/0.7496, allocations: 44 kB / 1.029 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.7527, allocations: 1.119 MB / 1.03 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004092/0.7531, allocations: 195 kB / 1.031 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0007028/0.7538, allocations: 289 kB / 1.031 GB, free: 1.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002862/0.7567, allocations: 1.635 MB / 1.033 GB, free: 15.45 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.7567, allocations: 0 / 1.033 GB, free: 15.45 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7567, allocations: 0 / 1.033 GB, free: 15.45 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.852e-05/0.7568, allocations: 0 / 1.033 GB, free: 15.45 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.003461/0.7603, allocations: 1.505 MB / 1.034 GB, free: 13.89 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.7603, allocations: 8.031 kB / 1.034 GB, free: 13.88 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001698/0.762, allocations: 390 kB / 1.034 GB, free: 13.5 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.7645, allocations: 1.082 MB / 1.035 GB, free: 12.36 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003435/0.7648, allocations: 129.9 kB / 1.036 GB, free: 12.23 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.765, allocations: 80 kB / 1.036 GB, free: 12.16 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.767, allocations: 0.9699 MB / 1.037 GB, free: 11.14 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.7671, allocations: 0 / 1.037 GB, free: 11.14 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.792e-05/0.7672, allocations: 32 kB / 1.037 GB, free: 11.11 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.7672, allocations: 20 kB / 1.037 GB, free: 11.09 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002162/0.7694, allocations: 0.8508 MB / 1.037 GB, free: 10.24 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.006524/0.7759, allocations: 4.788 MB / 1.042 GB, free: 5.09 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.7774, allocations: 0.5899 MB / 1.043 GB, free: 4.492 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006007/0.778, allocations: 282.8 kB / 1.043 GB, free: 4.215 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00135/0.7794, allocations: 1.392 MB / 1.044 GB, free: 2.527 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.7794, allocations: 38.56 kB / 1.044 GB, free: 2.48 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.254e-06/0.7794, allocations: 3.938 kB / 1.044 GB, free: 2.477 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.007634/0.7871, allocations: 2.037 MB / 1.046 GB, free: 420 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.992e-05/0.7871, allocations: 59.41 kB / 1.046 GB, free: 348 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/0.789, allocations: 1.047 MB / 1.047 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.959e-05/0.7891, allocations: 33.7 kB / 1.047 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004711/0.7896, allocations: 0.5273 MB / 1.048 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.7898, allocations: 145.8 kB / 1.048 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.7898, allocations: 12 kB / 1.048 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.79, allocations: 326 kB / 1.048 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007436/0.7907, allocations: 284.9 kB / 1.049 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008998/0.7916, allocations: 498.2 kB / 1.049 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008138/0.7925, allocations: 335.3 kB / 1.05 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.7925, allocations: 4 kB / 1.05 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003357/0.7958, allocations: 1.133 MB / 1.051 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.796, allocations: 224.2 kB / 1.051 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.796, allocations: 4 kB / 1.051 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.7973, allocations: 335 kB / 1.051 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000448/0.7977, allocations: 119.9 kB / 1.051 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.7992, allocations: 0.9309 MB / 1.052 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.8005, allocations: 183.1 kB / 1.052 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.37e-05/0.8006, allocations: 35.98 kB / 1.052 GB, free: 10 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.8006, allocations: 4 kB / 1.052 GB, free: 10 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002833/0.8034, allocations: 1.008 MB / 1.053 GB, free: 8.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.8035, allocations: 8.062 kB / 1.053 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.8045, allocations: 312.6 kB / 1.054 GB, free: 8.672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004232/0.8049, allocations: 119.8 kB / 1.054 GB, free: 8.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001324/0.8063, allocations: 0.9362 MB / 1.055 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.8074, allocations: 159.4 kB / 1.055 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.8075, allocations: 27.98 kB / 1.055 GB, free: 7.41 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 (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.0005403/0.808, allocations: 349.5 kB / 1.055 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.8082, allocations: 110.6 kB / 1.055 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003363/0.8116, allocations: 1.156 MB / 1.056 GB, free: 5.781 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.8116, allocations: 7.984 kB / 1.056 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.8116, allocations: 4 kB / 1.056 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.8117, allocations: 0 / 1.056 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004611/0.8163, allocations: 2.142 MB / 1.059 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.8163, allocations: 7.984 kB / 1.059 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.8165, allocations: 51.92 kB / 1.059 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009717/0.8175, allocations: 342.5 kB / 1.059 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.081e-05/0.8175, allocations: 15.98 kB / 1.059 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001402/0.8189, allocations: 0.9659 MB / 1.06 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.819, allocations: 4 kB / 1.06 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.8221, allocations: 1.187 MB / 1.061 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/0.8226, allocations: 279.5 kB / 1.061 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.8228, allocations: 8 kB / 1.061 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008818/0.8237, allocations: 103.8 kB / 1.061 GB, free: 0.5039 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.815e-05/0.8238, allocations: 43.78 kB / 1.061 GB, free: 472 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.8239, allocations: 31.92 kB / 1.062 GB, free: 440 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001223/0.8251, allocations: 0.7389 MB / 1.062 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8251, allocations: 0 / 1.062 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001717/0.8268, allocations: 0.5613 MB / 1.063 GB, free: 15.12 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 (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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.000876/0.8277, allocations: 385.1 kB / 1.063 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002708/0.8304, allocations: 1.051 MB / 1.064 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.8305, allocations: 4 kB / 1.064 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007819/0.8313, allocations: 333.5 kB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.8337, allocations: 0.4992 MB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003788/0.8375, allocations: 2.196 MB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006407/0.8381, allocations: 1.061 MB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0009364/0.8391, allocations: 218.9 kB / 1.068 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.8393, allocations: 79.42 kB / 1.068 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of SimCode: time 7.31e-07/0.8393, allocations: 0 / 1.068 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of Templates: time 0.03938/0.8786, allocations: 23.19 MB / 1.091 GB, free: 2.34 MB / 0.8419 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/jenkins/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