Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_y_etaCar,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.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,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.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 99.27 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.00133/0.00133, allocations: 186.5 kB / 16.92 MB, free: 6.688 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.359 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.402/2.402, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003655, allocations: 12 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7068/0.7072, allocations: 142.4 MB / 0.9557 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.06847/0.7757, allocations: 73.51 MB / 1.027 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02059/0.7964, allocations: 15.03 MB / 1.042 GB, free: 6.551 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003172/0.7996, allocations: 59.56 kB / 1.042 GB, free: 6.492 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00271/0.8023, allocations: 0.6799 MB / 1.043 GB, free: 5.809 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007656/0.81, allocations: 2.379 MB / 1.045 GB, free: 3.422 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.00398/0.814, allocations: 1.277 MB / 1.046 GB, free: 2.156 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00775/0.8218, allocations: 5.554 MB / 1.052 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/0.8243, allocations: 1.171 MB / 1.053 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003366/0.8277, allocations: 1.318 MB / 1.054 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002486/0.8302, allocations: 1.151 MB / 1.055 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0005045/0.8308, allocations: 52 kB / 1.055 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.8343, allocations: 1.239 MB / 1.057 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000589/0.8349, allocations: 290.6 kB / 1.057 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001676/0.8366, allocations: 0.7983 MB / 1.058 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003294/0.8399, allocations: 2.151 MB / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.8399, allocations: 4 kB / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.587e-06/0.8399, allocations: 4 kB / 1.06 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.713e-05/0.84, allocations: 3.938 kB / 1.06 GB, free: 4.344 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00422/0.8443, allocations: 1.783 MB / 1.062 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.8443, allocations: 8.031 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001065/0.8454, allocations: 242.8 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003163/0.8486, allocations: 1.484 MB / 1.063 GB, free: 0.7109 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.9e-05/0.8487, allocations: 78 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002641/0.849, allocations: 103.9 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.8514, allocations: 1.124 MB / 1.065 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.8515, allocations: 3.906 kB / 1.065 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.8516, allocations: 36 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/0.8516, allocations: 31.94 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.8539, allocations: 0.933 MB / 1.066 GB, free: 14.37 MB / 0.8262 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.007335/0.8612, allocations: 4.911 MB / 1.07 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.8628, allocations: 0.6492 MB / 1.071 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007738/0.8636, allocations: 363.7 kB / 1.071 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00069/0.8643, allocations: 0.8277 MB / 1.072 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.8643, allocations: 39.12 kB / 1.072 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=61): time 2.885e-06/0.8643, allocations: 0 / 1.072 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=61): time 0.007916/0.8723, allocations: 1.9 MB / 1.074 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.8724, allocations: 63.91 kB / 1.074 GB, free: 5.098 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.8746, allocations: 1.21 MB / 1.075 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/0.8747, allocations: 41.7 kB / 1.075 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005556/0.8753, allocations: 0.6065 MB / 1.076 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/0.8756, allocations: 208.9 kB / 1.076 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/0.8757, allocations: 69.69 kB / 1.076 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.8758, allocations: 333.9 kB / 1.076 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007666/0.8766, allocations: 301.8 kB / 1.077 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009266/0.8775, allocations: 0.5124 MB / 1.077 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.8791, allocations: 0.7442 MB / 1.078 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/0.8791, allocations: 0 / 1.078 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005212/0.8844, allocations: 1.413 MB / 1.079 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.00015/0.8845, allocations: 198.3 kB / 1.08 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.8846, allocations: 4 kB / 1.08 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006399/0.8852, allocations: 144.7 kB / 1.08 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006757/0.8859, allocations: 167.7 kB / 1.08 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009198/0.8868, allocations: 0.7201 MB / 1.081 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.8882, allocations: 171 kB / 1.081 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.8883, allocations: 31.98 kB / 1.081 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.8883, allocations: 4 kB / 1.081 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004836/0.8932, allocations: 1.253 MB / 1.082 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.8932, allocations: 7.984 kB / 1.082 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.8938, allocations: 145.1 kB / 1.082 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/0.8945, allocations: 175.7 kB / 1.082 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008731/0.8954, allocations: 0.7162 MB / 1.083 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.8967, allocations: 159.2 kB / 1.083 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.8968, allocations: 35.98 kB / 1.083 GB, free: 11.47 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007824/0.8976, allocations: 423.3 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003525/0.898, allocations: 134.4 kB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005156/0.9032, allocations: 1.396 MB / 1.085 GB, free: 9.504 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/0.9032, allocations: 4 kB / 1.085 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.9033, allocations: 4 kB / 1.085 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004709/0.908, allocations: 1.236 MB / 1.086 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007911/0.9159, allocations: 2.746 MB / 1.089 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.916, allocations: 4 kB / 1.089 GB, free: 5.363 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005252/0.9165, allocations: 123.8 kB / 1.089 GB, free: 5.242 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005398/0.9171, allocations: 144.9 kB / 1.089 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.9171, allocations: 23.98 kB / 1.089 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005205/0.9224, allocations: 2.474 MB / 1.092 GB, free: 2.449 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.9224, allocations: 4 kB / 1.092 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006038/0.9284, allocations: 1.852 MB / 1.093 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000942/0.9294, allocations: 342.9 kB / 1.094 GB, free: 176 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003684/0.9298, allocations: 16 kB / 1.094 GB, free: 160 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.931, allocations: 95.91 kB / 1.094 GB, free: 64 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.9311, allocations: 56.25 kB / 1.094 GB, free: 8 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.9313, allocations: 31.97 kB / 1.094 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001647/0.9329, allocations: 0.8701 MB / 1.095 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9329, allocations: 0 / 1.095 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002444/0.9354, allocations: 0.7174 MB / 1.096 GB, free: 14.39 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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 {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001141/0.9365, allocations: 431.8 kB / 1.096 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002961/0.9395, allocations: 1.172 MB / 1.097 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.9395, allocations: 0 / 1.097 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001624/0.9412, allocations: 0.5995 MB / 1.098 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004756/0.9459, allocations: 0.7978 MB / 1.098 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/0.9506, allocations: 2.865 MB / 1.101 GB, free: 8.449 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007904/0.9514, allocations: 1.169 MB / 1.102 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003922/0.9518, allocations: 119.4 kB / 1.103 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/0.9518, allocations: 4 kB / 1.103 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of Templates: time 0.04387/0.9957, allocations: 30.75 MB / 1.133 GB, free: 8.559 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches