Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001005/0.001005, 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.001453/0.001453, allocations: 182.2 kB / 16.92 MB, free: 6.707 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437.8 MB / 0.7128 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003923, allocations: 8 kB / 0.8735 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7773/0.7777, allocations: 153.8 MB / 1.024 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.06377/0.8415, allocations: 59.78 MB / 1.082 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01792/0.8595, allocations: 11.93 MB / 1.094 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002704/0.8622, allocations: 55.62 kB / 1.094 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.8646, allocations: 0.5399 MB / 1.094 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006394/0.8711, allocations: 1.812 MB / 1.096 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003708/0.8748, allocations: 1.07 MB / 1.097 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005762/0.8806, allocations: 3.906 MB / 1.101 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002079/0.8827, allocations: 0.9039 MB / 1.102 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002995/0.8857, allocations: 1.12 MB / 1.103 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.8875, allocations: 0.8475 MB / 1.104 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003329/0.8879, allocations: 48 kB / 1.104 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.8912, allocations: 1.353 MB / 1.105 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004046/0.8916, allocations: 210.9 kB / 1.105 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.8928, allocations: 0.6311 MB / 1.106 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002813/0.8956, allocations: 1.695 MB / 1.108 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8957, allocations: 0 / 1.108 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8957, allocations: 0 / 1.108 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.535e-05/0.8957, allocations: 0 / 1.108 GB, free: 9.703 MB / 0.8575 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.003549/0.8993, allocations: 1.497 MB / 1.109 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.8994, allocations: 8.031 kB / 1.109 GB, free: 8.141 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.9013, allocations: 379 kB / 1.109 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002637/0.9039, allocations: 1.124 MB / 1.11 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003875/0.9043, allocations: 133.9 kB / 1.111 GB, free: 6.457 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.9045, allocations: 80 kB / 1.111 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/0.9066, allocations: 0.9661 MB / 1.112 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.296e-05/0.9067, allocations: 3.938 kB / 1.112 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.023e-05/0.9068, allocations: 35.98 kB / 1.112 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.9068, allocations: 20 kB / 1.112 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.9091, allocations: 0.847 MB / 1.113 GB, free: 4.465 MB / 0.8575 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.006731/0.9158, allocations: 4.807 MB / 1.117 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.9173, allocations: 0.5975 MB / 1.118 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006101/0.918, allocations: 289.8 kB / 1.118 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/0.9193, allocations: 1.388 MB / 1.119 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.9194, allocations: 50.44 kB / 1.119 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.374e-06/0.9194, allocations: 0 / 1.119 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.008744/0.9282, allocations: 2.04 MB / 1.121 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.9282, allocations: 59.41 kB / 1.122 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.9302, allocations: 1.048 MB / 1.123 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.528e-05/0.9303, allocations: 41.7 kB / 1.123 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004769/0.9307, allocations: 0.5234 MB / 1.123 GB, free: 8.887 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.9309, allocations: 157.8 kB / 1.123 GB, free: 8.73 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.414e-05/0.931, allocations: 45.7 kB / 1.123 GB, free: 8.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.9311, allocations: 326 kB / 1.124 GB, free: 8.355 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007944/0.9319, allocations: 292.9 kB / 1.124 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000943/0.9329, allocations: 499.3 kB / 1.124 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.9344, allocations: 0.6626 MB / 1.125 GB, free: 6.781 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.9344, allocations: 4 kB / 1.125 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002585/0.937, allocations: 0.9807 MB / 1.126 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.9371, allocations: 216.2 kB / 1.126 GB, free: 5.516 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.9372, allocations: 4 kB / 1.126 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.9385, allocations: 322.8 kB / 1.126 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/0.939, allocations: 123.8 kB / 1.127 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.9406, allocations: 0.9386 MB / 1.128 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.9419, allocations: 183.3 kB / 1.128 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.81e-05/0.942, allocations: 27.98 kB / 1.128 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.942, allocations: 4 kB / 1.128 GB, free: 3.898 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00225/0.9443, allocations: 0.8396 MB / 1.129 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.9443, allocations: 4.047 kB / 1.129 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.9455, allocations: 334.6 kB / 1.129 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.9459, allocations: 119.8 kB / 1.129 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.9474, allocations: 0.9309 MB / 1.13 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.9486, allocations: 159.3 kB / 1.13 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-05/0.9487, allocations: 28 kB / 1.13 GB, free: 1.465 MB / 0.8731 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.0006379/0.9494, allocations: 350.5 kB / 1.13 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/0.9496, allocations: 110.6 kB / 1.131 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003935/0.9536, allocations: 1.159 MB / 1.132 GB, free: 15.84 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.9536, allocations: 8 kB / 1.132 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.9536, allocations: 0 / 1.132 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.9536, allocations: 3.984 kB / 1.132 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00531/0.959, allocations: 2.165 MB / 1.134 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/0.959, allocations: 0 / 1.134 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.9592, allocations: 55.91 kB / 1.134 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00113/0.9604, allocations: 341.6 kB / 1.134 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.9604, allocations: 16 kB / 1.134 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/0.962, allocations: 0.9633 MB / 1.135 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.962, allocations: 12.03 kB / 1.135 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00361/0.9656, allocations: 1.184 MB / 1.136 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005997/0.9662, allocations: 283.4 kB / 1.137 GB, free: 10.65 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.9665, allocations: 12 kB / 1.137 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.9675, allocations: 99.81 kB / 1.137 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.9676, allocations: 43.89 kB / 1.137 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.561e-05/0.9677, allocations: 27.98 kB / 1.137 GB, free: 10.47 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001434/0.9691, allocations: 0.7428 MB / 1.137 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9692, allocations: 0 / 1.137 GB, free: 9.723 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002004/0.9712, allocations: 0.5652 MB / 1.138 GB, free: 9.156 MB / 0.8887 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.001037/0.9722, allocations: 406.1 kB / 1.138 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002963/0.9752, allocations: 1.047 MB / 1.139 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.9752, allocations: 0 / 1.139 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008044/0.976, allocations: 337.2 kB / 1.14 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/0.9791, allocations: 0.5034 MB / 1.14 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004034/0.9831, allocations: 2.29 MB / 1.142 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006651/0.9838, allocations: 1.054 MB / 1.143 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002769/0.9841, allocations: 83.42 kB / 1.144 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of SimCode: time 7.32e-07/0.9841, allocations: 0 / 1.144 GB, free: 3.371 MB / 0.8887 GB Notification: Performance of Templates: time 0.03561/1.02, allocations: 23.76 MB / 1.167 GB, free: 11.77 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches