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.0009791/0.0009792, 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.001262/0.001262, allocations: 186 kB / 16.92 MB, free: 6.777 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.415/1.415, allocations: 223.3 MB / 241 MB, free: 5.355 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.703/2.703, allocations: 437.8 MB / 0.7128 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003998, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7742/0.7746, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07064/0.8453, allocations: 73.51 MB / 1.095 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02075/0.8661, allocations: 15.05 MB / 1.11 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.8693, allocations: 67.56 kB / 1.11 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002675/0.8721, allocations: 0.676 MB / 1.111 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008129/0.8802, allocations: 2.37 MB / 1.113 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004231/0.8845, allocations: 1.278 MB / 1.114 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007947/0.8924, allocations: 5.558 MB / 1.12 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.8949, allocations: 1.151 MB / 1.121 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003857/0.8988, allocations: 1.326 MB / 1.122 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00266/0.9015, allocations: 1.155 MB / 1.123 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003286/0.9019, allocations: 52 kB / 1.123 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003448/0.9054, allocations: 1.259 MB / 1.125 GB, free: 8.086 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004603/0.9058, allocations: 290.6 kB / 1.125 GB, free: 7.801 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.9072, allocations: 0.7944 MB / 1.126 GB, free: 6.996 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.9105, allocations: 2.17 MB / 1.128 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.9105, allocations: 0 / 1.128 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.485e-06/0.9105, allocations: 0 / 1.128 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.555e-05/0.9105, allocations: 0 / 1.128 GB, free: 4.82 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.0038/0.9143, allocations: 1.787 MB / 1.13 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.9144, allocations: 12.03 kB / 1.13 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008814/0.9153, allocations: 246.7 kB / 1.13 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.918, allocations: 1.489 MB / 1.131 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/0.9181, allocations: 81.94 kB / 1.131 GB, free: 1.09 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.9183, allocations: 108 kB / 1.132 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/0.9205, allocations: 1.12 MB / 1.133 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.9206, allocations: 0 / 1.133 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.402e-05/0.9207, allocations: 36 kB / 1.133 GB, free: 15.79 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.12e-05/0.9207, allocations: 36 kB / 1.133 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.9228, allocations: 0.929 MB / 1.134 GB, free: 14.83 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.00669/0.9295, allocations: 4.919 MB / 1.138 GB, free: 9.625 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001467/0.931, allocations: 0.6464 MB / 1.139 GB, free: 8.977 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007864/0.9318, allocations: 376.2 kB / 1.139 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000746/0.9325, allocations: 0.8316 MB / 1.14 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.9326, allocations: 35.12 kB / 1.14 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=62): time 2.785e-06/0.9326, allocations: 0 / 1.14 GB, free: 7.547 MB / 0.8887 GB Notification: Performance of matching and sorting (n=62): time 0.005332/0.9379, allocations: 1.534 MB / 1.142 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.938, allocations: 59.97 kB / 1.142 GB, free: 5.914 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.9398, allocations: 1.21 MB / 1.143 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 9.487e-05/0.9399, allocations: 41.7 kB / 1.143 GB, free: 4.641 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005785/0.9405, allocations: 0.6065 MB / 1.144 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.9407, allocations: 212.9 kB / 1.144 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/0.9408, allocations: 61.69 kB / 1.144 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.941, allocations: 333.9 kB / 1.144 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007232/0.9417, allocations: 309.8 kB / 1.144 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009041/0.9426, allocations: 0.5037 MB / 1.145 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.9443, allocations: 0.7472 MB / 1.146 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.794e-06/0.9443, allocations: 0 / 1.146 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005781/0.9501, allocations: 1.406 MB / 1.147 GB, free: 324 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001987/0.9503, allocations: 189.4 kB / 1.147 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.9503, allocations: 4 kB / 1.147 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008787/0.9512, allocations: 156.7 kB / 1.147 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006676/0.9519, allocations: 163.8 kB / 1.148 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.953, allocations: 0.7395 MB / 1.148 GB, free: 15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.9544, allocations: 167 kB / 1.148 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-05/0.9545, allocations: 36 kB / 1.148 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.9545, allocations: 4 kB / 1.148 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004567/0.9591, allocations: 1.245 MB / 1.15 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.9591, allocations: 4 kB / 1.15 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006138/0.9597, allocations: 169 kB / 1.15 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005927/0.9603, allocations: 159.8 kB / 1.15 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008947/0.9612, allocations: 0.7396 MB / 1.151 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.9626, allocations: 148.8 kB / 1.151 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-05/0.9627, allocations: 35.98 kB / 1.151 GB, free: 12.27 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.0008355/0.9635, allocations: 421.5 kB / 1.151 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004142/0.9639, allocations: 138.3 kB / 1.151 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005056/0.969, allocations: 1.393 MB / 1.153 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.969, allocations: 11.94 kB / 1.153 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.9691, allocations: 4 kB / 1.153 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004371/0.9734, allocations: 1.217 MB / 1.154 GB, free: 9.039 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004948/0.9784, allocations: 2.353 MB / 1.156 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.9784, allocations: 8 kB / 1.156 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/0.979, allocations: 124.2 kB / 1.156 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006733/0.9797, allocations: 148.7 kB / 1.157 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-05/0.9797, allocations: 19.98 kB / 1.157 GB, free: 6.277 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009491/0.9807, allocations: 0.7317 MB / 1.157 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/0.9807, allocations: 4 kB / 1.157 GB, free: 5.516 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/0.9839, allocations: 1.458 MB / 1.159 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008019/0.9847, allocations: 331.1 kB / 1.159 GB, free: 3.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003502/0.985, allocations: 15.98 kB / 1.159 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/0.9862, allocations: 99.83 kB / 1.159 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.9863, allocations: 64.22 kB / 1.159 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.032e-05/0.9864, allocations: 27.98 kB / 1.159 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001636/0.9881, allocations: 0.8701 MB / 1.16 GB, free: 2.57 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9881, allocations: 0 / 1.16 GB, free: 2.57 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002383/0.9905, allocations: 0.7018 MB / 1.161 GB, free: 1.867 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.001184/0.9917, allocations: 439.1 kB / 1.161 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002982/0.9947, allocations: 1.176 MB / 1.162 GB, free: 268 kB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.9947, allocations: 0 / 1.162 GB, free: 268 kB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.9957, allocations: 419.2 kB / 1.163 GB, free: 15.85 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004886/1.001, allocations: 0.7987 MB / 1.164 GB, free: 15.07 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005143/1.006, allocations: 2.863 MB / 1.166 GB, free: 12.12 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/1.007, allocations: 1.165 MB / 1.167 GB, free: 10.93 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/1.007, allocations: 119.3 kB / 1.168 GB, free: 10.82 MB / 0.92 GB Notification: Performance of SimCode: time 8.62e-07/1.007, allocations: 0 / 1.168 GB, free: 10.82 MB / 0.92 GB Notification: Performance of Templates: time 0.04837/1.056, allocations: 30.76 MB / 1.198 GB, free: 12.24 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/jenkins1/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