Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.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_y_etaPL,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|heaPum.etaPL",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,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|heaPum.etaPL",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 90.75 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.001343/0.001343, 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.364/1.364, allocations: 223.3 MB / 240 MB, free: 5.387 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.576/2.576, allocations: 437.7 MB / 0.7117 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003725, allocations: 12 kB / 0.8722 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5751/0.5755, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.06443/0.6399, allocations: 69.48 MB / 1.09 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01773/0.6577, allocations: 14.19 MB / 1.104 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001999/0.6597, allocations: 55.62 kB / 1.104 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.6615, allocations: 0.5666 MB / 1.105 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005487/0.667, allocations: 2.001 MB / 1.107 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.6697, allocations: 0.9619 MB / 1.108 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005271/0.675, allocations: 4.803 MB / 1.112 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.6766, allocations: 1.017 MB / 1.113 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002375/0.6789, allocations: 1.287 MB / 1.115 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/0.6804, allocations: 1.077 MB / 1.116 GB, free: 332 kB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001439/0.6806, allocations: 52 kB / 1.116 GB, free: 280 kB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/0.6829, allocations: 0.9432 MB / 1.117 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002922/0.6832, allocations: 274.7 kB / 1.117 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000399/0.6836, allocations: 356.9 kB / 1.117 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.6858, allocations: 2.092 MB / 1.119 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6858, allocations: 0 / 1.119 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6858, allocations: 0 / 1.119 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.13e-05/0.6858, allocations: 0 / 1.119 GB, free: 12.61 MB / 0.8731 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.003226/0.6891, allocations: 1.799 MB / 1.121 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.6891, allocations: 12.03 kB / 1.121 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007625/0.6899, allocations: 241.9 kB / 1.121 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002434/0.6923, allocations: 1.447 MB / 1.123 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.82e-05/0.6924, allocations: 78 kB / 1.123 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.6926, allocations: 104 kB / 1.123 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002218/0.6948, allocations: 1.116 MB / 1.124 GB, free: 7.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.6949, allocations: 3.938 kB / 1.124 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.199e-05/0.695, allocations: 44 kB / 1.124 GB, free: 7.613 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.688e-05/0.695, allocations: 28 kB / 1.124 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001902/0.6969, allocations: 0.9251 MB / 1.125 GB, free: 6.664 MB / 0.8731 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.005721/0.7026, allocations: 4.915 MB / 1.13 GB, free: 1.461 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001364/0.704, allocations: 0.6442 MB / 1.13 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007079/0.7047, allocations: 362.3 kB / 1.131 GB, free: 464 kB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006306/0.7054, allocations: 0.8277 MB / 1.131 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.7054, allocations: 43.11 kB / 1.131 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=62): time 2.395e-06/0.7054, allocations: 4 kB / 1.131 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of matching and sorting (n=62): time 0.004581/0.71, allocations: 1.51 MB / 1.133 GB, free: 13.84 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.7101, allocations: 63.91 kB / 1.133 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.7116, allocations: 1.21 MB / 1.134 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.747e-05/0.7117, allocations: 37.7 kB / 1.134 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000511/0.7122, allocations: 0.6065 MB / 1.135 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.7124, allocations: 212.9 kB / 1.135 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.7125, allocations: 16 kB / 1.135 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.7126, allocations: 334 kB / 1.135 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006539/0.7133, allocations: 293.8 kB / 1.136 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008099/0.7141, allocations: 0.4998 MB / 1.136 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.7148, allocations: 363 kB / 1.136 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.7149, allocations: 0 / 1.136 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00436/0.7192, allocations: 1.386 MB / 1.138 GB, free: 8.707 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.7194, allocations: 193.5 kB / 1.138 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.7194, allocations: 4 kB / 1.138 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006969/0.7201, allocations: 168.6 kB / 1.138 GB, free: 8.301 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/0.7208, allocations: 159.8 kB / 1.138 GB, free: 8.145 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008694/0.7216, allocations: 0.7318 MB / 1.139 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.7228, allocations: 163 kB / 1.139 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.851e-05/0.7228, allocations: 43.92 kB / 1.139 GB, free: 7.184 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/0.7228, allocations: 4 kB / 1.139 GB, free: 7.18 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004087/0.7269, allocations: 1.238 MB / 1.14 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.727, allocations: 4 kB / 1.14 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005699/0.7275, allocations: 165.1 kB / 1.141 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000611/0.7282, allocations: 155.8 kB / 1.141 GB, free: 5.617 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008055/0.729, allocations: 0.7357 MB / 1.141 GB, free: 4.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.7301, allocations: 156.7 kB / 1.142 GB, free: 4.703 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.7302, allocations: 39.98 kB / 1.142 GB, free: 4.664 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006169/0.7308, allocations: 412.9 kB / 1.142 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.731, allocations: 134.4 kB / 1.142 GB, free: 4.117 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004372/0.7354, allocations: 1.393 MB / 1.144 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.7354, allocations: 8 kB / 1.144 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.7354, allocations: 4 kB / 1.144 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003865/0.7393, allocations: 1.217 MB / 1.145 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.7431, allocations: 2.341 MB / 1.147 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.7431, allocations: 4.438 kB / 1.147 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.7437, allocations: 119.9 kB / 1.147 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005886/0.7443, allocations: 160.6 kB / 1.147 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/0.7443, allocations: 24 kB / 1.147 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008049/0.7451, allocations: 0.7162 MB / 1.148 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.7451, allocations: 4 kB / 1.148 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/0.7477, allocations: 1.465 MB / 1.149 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005344/0.7483, allocations: 335 kB / 1.15 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.7485, allocations: 20 kB / 1.15 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008357/0.7493, allocations: 95.86 kB / 1.15 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.7494, allocations: 52.31 kB / 1.15 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.43e-05/0.7495, allocations: 31.97 kB / 1.15 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00119/0.7507, allocations: 0.8584 MB / 1.151 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7507, allocations: 4 kB / 1.151 GB, free: 11 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001731/0.7524, allocations: 0.6978 MB / 1.152 GB, free: 10.3 MB / 0.9044 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 (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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008241/0.7533, allocations: 434.5 kB / 1.152 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002494/0.7558, allocations: 1.164 MB / 1.153 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7558, allocations: 0 / 1.153 GB, free: 8.711 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009306/0.7567, allocations: 411.3 kB / 1.153 GB, free: 8.312 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003323/0.7601, allocations: 0.7657 MB / 1.154 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.7639, allocations: 2.771 MB / 1.157 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006561/0.7645, allocations: 1.168 MB / 1.158 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001129/0.7657, allocations: 310.9 kB / 1.158 GB, free: 3.207 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.7659, allocations: 107.3 kB / 1.158 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of SimCode: time 5.81e-07/0.7659, allocations: 4 kB / 1.158 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of Templates: time 0.04782/0.8137, allocations: 29.25 MB / 1.187 GB, free: 6.215 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches