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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.0009394/0.0009394, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007584/0.007585, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.591/2.591, allocations: 437.8 MB / 0.7121 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003337, allocations: 8 kB / 0.8728 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.5705, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.068/0.6385, allocations: 73.5 MB / 1.095 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02012/0.6587, allocations: 15.05 MB / 1.109 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002679/0.6614, allocations: 59.62 kB / 1.11 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002174/0.6636, allocations: 0.6721 MB / 1.11 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006643/0.6703, allocations: 2.388 MB / 1.113 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003315/0.6736, allocations: 1.269 MB / 1.114 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006524/0.6801, allocations: 5.553 MB / 1.119 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001852/0.682, allocations: 1.151 MB / 1.12 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002818/0.6848, allocations: 1.33 MB / 1.122 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001873/0.6867, allocations: 1.155 MB / 1.123 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.687, allocations: 56 kB / 1.123 GB, free: 9.336 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002738/0.6897, allocations: 1.251 MB / 1.124 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003328/0.6901, allocations: 294.6 kB / 1.124 GB, free: 7.793 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009596/0.6911, allocations: 0.806 MB / 1.125 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003512/0.6946, allocations: 2.73 MB / 1.128 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.6946, allocations: 4 kB / 1.128 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6946, allocations: 0 / 1.128 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.478e-05/0.6946, allocations: 4 kB / 1.128 GB, free: 4.23 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.003445/0.6981, allocations: 1.783 MB / 1.13 GB, free: 2.383 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.6981, allocations: 8.031 kB / 1.13 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008523/0.699, allocations: 246.8 kB / 1.13 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/0.7014, allocations: 1.489 MB / 1.131 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/0.7014, allocations: 74 kB / 1.131 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.7016, allocations: 104 kB / 1.131 GB, free: 424 kB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.7037, allocations: 1.127 MB / 1.132 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.7038, allocations: 7.938 kB / 1.132 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.7039, allocations: 40 kB / 1.133 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.7039, allocations: 27.98 kB / 1.133 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.706, allocations: 0.9368 MB / 1.133 GB, free: 14.24 MB / 0.8887 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.005987/0.712, allocations: 4.907 MB / 1.138 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.7134, allocations: 0.6431 MB / 1.139 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007877/0.7142, allocations: 370.3 kB / 1.139 GB, free: 8.031 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006623/0.7149, allocations: 0.8316 MB / 1.14 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.715, allocations: 47.12 kB / 1.14 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=62): time 1.695e-05/0.715, allocations: 0 / 1.14 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of matching and sorting (n=62): time 0.005397/0.7204, allocations: 1.522 MB / 1.142 GB, free: 5.41 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.7205, allocations: 55.97 kB / 1.142 GB, free: 5.344 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.7221, allocations: 1.214 MB / 1.143 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.658e-05/0.7222, allocations: 41.7 kB / 1.143 GB, free: 4.066 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005293/0.7227, allocations: 0.6065 MB / 1.143 GB, free: 3.453 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.7229, allocations: 216.9 kB / 1.144 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.723, allocations: 61.69 kB / 1.144 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.7232, allocations: 337.9 kB / 1.144 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007061/0.7239, allocations: 301.8 kB / 1.144 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000873/0.7248, allocations: 0.5038 MB / 1.145 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.7263, allocations: 0.7433 MB / 1.146 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.7263, allocations: 4 kB / 1.146 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005265/0.7316, allocations: 1.41 MB / 1.147 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.7318, allocations: 199.3 kB / 1.147 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.7318, allocations: 4 kB / 1.147 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000712/0.7325, allocations: 152.7 kB / 1.147 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.7332, allocations: 167.8 kB / 1.147 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009822/0.7342, allocations: 0.7318 MB / 1.148 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.7355, allocations: 171 kB / 1.148 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.05e-05/0.7356, allocations: 31.98 kB / 1.148 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.7356, allocations: 4 kB / 1.148 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00481/0.7404, allocations: 1.25 MB / 1.15 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.7404, allocations: 4 kB / 1.15 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006627/0.7411, allocations: 156.8 kB / 1.15 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006496/0.7418, allocations: 171.7 kB / 1.15 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008929/0.7427, allocations: 0.728 MB / 1.151 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.744, allocations: 163.2 kB / 1.151 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.009e-05/0.7441, allocations: 32 kB / 1.151 GB, free: 11.69 MB / 0.9044 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 (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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007049/0.7449, allocations: 420.8 kB / 1.151 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/0.7452, allocations: 138.3 kB / 1.151 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005214/0.7504, allocations: 1.397 MB / 1.153 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.7505, allocations: 8 kB / 1.153 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.7505, allocations: 0 / 1.153 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004661/0.7551, allocations: 1.217 MB / 1.154 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004741/0.7599, allocations: 2.349 MB / 1.156 GB, free: 6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.7599, allocations: 4 kB / 1.156 GB, free: 5.996 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/0.7605, allocations: 123.8 kB / 1.156 GB, free: 5.875 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006172/0.7611, allocations: 160.8 kB / 1.156 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/0.7612, allocations: 16 kB / 1.156 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008498/0.762, allocations: 0.7201 MB / 1.157 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.7621, allocations: 7.938 kB / 1.157 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002984/0.765, allocations: 1.458 MB / 1.159 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006867/0.7657, allocations: 339.1 kB / 1.159 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/0.766, allocations: 24.06 kB / 1.159 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.7671, allocations: 95.75 kB / 1.159 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.7672, allocations: 56.25 kB / 1.159 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.7673, allocations: 35.97 kB / 1.159 GB, free: 2.859 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001346/0.7686, allocations: 0.8662 MB / 1.16 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7686, allocations: 0 / 1.16 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001863/0.7705, allocations: 0.6979 MB / 1.161 GB, free: 1.293 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 (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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009195/0.7714, allocations: 462.3 kB / 1.161 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002769/0.7742, allocations: 1.168 MB / 1.162 GB, free: 15.67 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.7742, allocations: 4 kB / 1.162 GB, free: 15.67 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.7752, allocations: 411.3 kB / 1.163 GB, free: 15.27 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004485/0.7797, allocations: 0.8005 MB / 1.163 GB, free: 14.48 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/0.7839, allocations: 2.824 MB / 1.166 GB, free: 11.58 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008087/0.7847, allocations: 1.173 MB / 1.167 GB, free: 10.38 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001252/0.786, allocations: 311 kB / 1.168 GB, free: 10.07 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.7863, allocations: 111.4 kB / 1.168 GB, free: 9.965 MB / 0.92 GB Notification: Performance of SimCode: time 9.32e-07/0.7863, allocations: 0 / 1.168 GB, free: 9.965 MB / 0.92 GB Notification: Performance of Templates: time 0.05135/0.8377, allocations: 31.77 MB / 1.199 GB, free: 10.57 MB / 0.9512 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