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.001664/0.001663, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001691/0.00169, allocations: 177.3 kB / 15.95 MB, free: 216 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.366/1.366, allocations: 223.2 MB / 239.9 MB, free: 5.367 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.391/2.391, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 11.98 kB / 0.8145 GB, free: 14.32 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7169/0.7172, allocations: 142.3 MB / 0.9535 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05114/0.7684, allocations: 51.35 MB / 1.004 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01653/0.785, allocations: 10.31 MB / 1.014 GB, free: 2.395 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002768/0.7878, allocations: 47.62 kB / 1.014 GB, free: 2.348 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002737/0.7906, allocations: 0.6296 MB / 1.014 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.007008/0.7976, allocations: 1.944 MB / 1.016 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004123/0.8017, allocations: 1.316 MB / 1.018 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004237/0.806, allocations: 1.843 MB / 1.019 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.8076, allocations: 0.8212 MB / 1.02 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002574/0.8102, allocations: 0.973 MB / 1.021 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.8122, allocations: 0.6027 MB / 1.022 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.8124, allocations: 48 kB / 1.022 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/0.8154, allocations: 0.9985 MB / 1.023 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.8156, allocations: 199.1 kB / 1.023 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004297/0.816, allocations: 281 kB / 1.023 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.8183, allocations: 1.588 MB / 1.025 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.8183, allocations: 0 / 1.025 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8183, allocations: 0 / 1.025 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.8183, allocations: 4 kB / 1.025 GB, free: 7.078 MB / 0.7794 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.002658/0.821, allocations: 1.487 MB / 1.026 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.821, allocations: 8.031 kB / 1.026 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.8227, allocations: 390 kB / 1.027 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.8246, allocations: 1.043 MB / 1.028 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/0.825, allocations: 133.9 kB / 1.028 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.8251, allocations: 80 kB / 1.028 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.8269, allocations: 0.9583 MB / 1.029 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.8269, allocations: 0 / 1.029 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.626e-05/0.827, allocations: 35.98 kB / 1.029 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.847e-05/0.827, allocations: 20 kB / 1.029 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.8291, allocations: 0.847 MB / 1.03 GB, free: 1.934 MB / 0.7794 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.00734/0.8364, allocations: 4.819 MB / 1.034 GB, free: 12.76 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.8381, allocations: 0.6061 MB / 1.035 GB, free: 12.14 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/0.8395, allocations: 1.392 MB / 1.036 GB, free: 10.46 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.8395, allocations: 38.56 kB / 1.036 GB, free: 10.41 MB / 0.795 GB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/0.8395, allocations: 0 / 1.036 GB, free: 10.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=43): time 0.008427/0.8479, allocations: 2.041 MB / 1.038 GB, free: 8.34 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.848, allocations: 59.36 kB / 1.038 GB, free: 8.27 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.8496, allocations: 1.067 MB / 1.039 GB, free: 7.188 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 7.739e-05/0.8497, allocations: 37.7 kB / 1.039 GB, free: 7.145 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.8501, allocations: 0.5195 MB / 1.04 GB, free: 6.621 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.8502, allocations: 141.9 kB / 1.04 GB, free: 6.48 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.8503, allocations: 16 kB / 1.04 GB, free: 6.465 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.8504, allocations: 326 kB / 1.04 GB, free: 6.141 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007381/0.8512, allocations: 284.9 kB / 1.041 GB, free: 5.863 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008909/0.8521, allocations: 495.8 kB / 1.041 GB, free: 5.301 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008013/0.8529, allocations: 327.4 kB / 1.041 GB, free: 4.98 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.8529, allocations: 4 kB / 1.041 GB, free: 4.977 MB / 0.795 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003361/0.8563, allocations: 1.133 MB / 1.043 GB, free: 3.832 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005837/0.8569, allocations: 1.587 MB / 1.044 GB, free: 2.129 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.8569, allocations: 7.938 kB / 1.044 GB, free: 2.121 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/0.8582, allocations: 332.6 kB / 1.044 GB, free: 1.793 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.8586, allocations: 111.8 kB / 1.045 GB, free: 1.684 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/0.8601, allocations: 0.9438 MB / 1.045 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.8615, allocations: 183.2 kB / 1.046 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/0.8616, allocations: 27.98 kB / 1.046 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.8616, allocations: 8 kB / 1.046 GB, free: 0.5 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003026/0.8646, allocations: 1.004 MB / 1.047 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.8647, allocations: 8.031 kB / 1.047 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.8657, allocations: 322.1 kB / 1.047 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.8662, allocations: 111.8 kB / 1.047 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.8675, allocations: 0.9448 MB / 1.048 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.8687, allocations: 158.8 kB / 1.048 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.8688, allocations: 31.98 kB / 1.048 GB, free: 13.91 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.0005745/0.8694, allocations: 353 kB / 1.049 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.8695, allocations: 110.6 kB / 1.049 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/0.8731, allocations: 1.155 MB / 1.05 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.8731, allocations: 8 kB / 1.05 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8731, allocations: 0 / 1.05 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.8732, allocations: 7.984 kB / 1.05 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004712/0.8779, allocations: 2.157 MB / 1.052 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.8779, allocations: 8 kB / 1.052 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.8781, allocations: 51.92 kB / 1.052 GB, free: 9.961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001028/0.8791, allocations: 329.8 kB / 1.052 GB, free: 9.637 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.489e-05/0.8792, allocations: 27.94 kB / 1.052 GB, free: 9.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.8806, allocations: 0.9631 MB / 1.053 GB, free: 8.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.8806, allocations: 4.031 kB / 1.053 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00344/0.8841, allocations: 1.294 MB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/0.8847, allocations: 291.4 kB / 1.055 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.8848, allocations: 8 kB / 1.055 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008291/0.8856, allocations: 111.8 kB / 1.055 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/0.8857, allocations: 39.83 kB / 1.055 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.716e-05/0.8858, allocations: 19.98 kB / 1.055 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00113/0.8869, allocations: 0.7467 MB / 1.056 GB, free: 6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8869, allocations: 3.938 kB / 1.056 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001525/0.8884, allocations: 0.5692 MB / 1.056 GB, free: 5.426 MB / 0.8106 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.0007648/0.8892, allocations: 402.5 kB / 1.057 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00259/0.8918, allocations: 1.055 MB / 1.058 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8918, allocations: 0 / 1.058 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007287/0.8926, allocations: 329.2 kB / 1.058 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.8947, allocations: 0.4955 MB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.8981, allocations: 2.199 MB / 1.061 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/0.8987, allocations: 1.081 MB / 1.062 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008176/0.8995, allocations: 222.2 kB / 1.062 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.8996, allocations: 79.36 kB / 1.062 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of SimCode: time 7.01e-07/0.8996, allocations: 0 / 1.062 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of Templates: time 0.03862/0.9383, allocations: 23.5 MB / 1.085 GB, free: 8.297 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","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches