Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_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_10_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_10_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.001123/0.001123, 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.001393/0.001393, allocations: 185.3 kB / 16.92 MB, free: 6.77 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.456/1.456, 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 10.1.0-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 437.8 MB / 0.7128 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003853, allocations: 12.28 kB / 0.8735 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7607/0.7611, allocations: 153.8 MB / 1.024 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07654/0.8377, allocations: 73.5 MB / 1.095 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.8589, allocations: 15.06 MB / 1.11 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00335/0.8624, allocations: 55.62 kB / 1.11 GB, free: 7.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002763/0.8651, allocations: 0.676 MB / 1.111 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008173/0.8733, allocations: 2.377 MB / 1.113 GB, free: 4.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.8773, allocations: 1.268 MB / 1.114 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007324/0.8846, allocations: 5.566 MB / 1.12 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002487/0.8871, allocations: 1.159 MB / 1.121 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003396/0.8906, allocations: 1.322 MB / 1.122 GB, free: 10.73 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002488/0.8931, allocations: 1.143 MB / 1.123 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005008/0.8936, allocations: 60 kB / 1.123 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003601/0.8972, allocations: 1.239 MB / 1.125 GB, free: 8.281 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000642/0.8979, allocations: 286.7 kB / 1.125 GB, free: 8 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00182/0.8997, allocations: 0.7983 MB / 1.126 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003509/0.9032, allocations: 2.155 MB / 1.128 GB, free: 5.031 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.9033, allocations: 3.938 kB / 1.128 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9033, allocations: 0 / 1.128 GB, free: 5.027 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.944e-05/0.9034, allocations: 0 / 1.128 GB, free: 5.027 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.004824/0.9082, allocations: 1.783 MB / 1.13 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.9083, allocations: 12.03 kB / 1.13 GB, free: 3.168 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001191/0.9095, allocations: 238.8 kB / 1.13 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003504/0.913, allocations: 1.501 MB / 1.131 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.404e-05/0.9131, allocations: 74 kB / 1.131 GB, free: 1.305 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/0.9134, allocations: 107.9 kB / 1.131 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002678/0.9161, allocations: 1.12 MB / 1.133 GB, free: 44 kB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.9161, allocations: 3.938 kB / 1.133 GB, free: 40 kB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.9162, allocations: 40 kB / 1.133 GB, free: 0 / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.135e-05/0.9163, allocations: 24.05 kB / 1.133 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.9186, allocations: 0.9368 MB / 1.134 GB, free: 15.04 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.00776/0.9264, allocations: 4.915 MB / 1.138 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.9279, allocations: 0.6443 MB / 1.139 GB, free: 9.191 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007898/0.9288, allocations: 366.3 kB / 1.139 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007251/0.9295, allocations: 0.8277 MB / 1.14 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.9296, allocations: 39.12 kB / 1.14 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 3.016e-06/0.9296, allocations: 0 / 1.14 GB, free: 7.77 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.008223/0.9378, allocations: 1.904 MB / 1.142 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.9379, allocations: 55.97 kB / 1.142 GB, free: 5.77 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/0.9405, allocations: 1.21 MB / 1.143 GB, free: 4.543 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.9407, allocations: 45.7 kB / 1.143 GB, free: 4.492 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007592/0.9415, allocations: 0.6064 MB / 1.144 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003451/0.9418, allocations: 209 kB / 1.144 GB, free: 3.672 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.942, allocations: 65.67 kB / 1.144 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.9422, allocations: 334 kB / 1.144 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008215/0.943, allocations: 305.8 kB / 1.145 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.9441, allocations: 0.5046 MB / 1.145 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001664/0.9458, allocations: 0.7519 MB / 1.146 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.9458, allocations: 0 / 1.146 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00515/0.9509, allocations: 1.41 MB / 1.147 GB, free: 160 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.9511, allocations: 194 kB / 1.148 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.9512, allocations: 8 kB / 1.148 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006349/0.9518, allocations: 144.7 kB / 1.148 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.9525, allocations: 167.8 kB / 1.148 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009272/0.9534, allocations: 0.72 MB / 1.149 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.9548, allocations: 171 kB / 1.149 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.627e-05/0.9549, allocations: 35.92 kB / 1.149 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.9549, allocations: 4 kB / 1.149 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004815/0.9597, allocations: 1.253 MB / 1.15 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.9598, allocations: 8.062 kB / 1.15 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/0.9603, allocations: 136.8 kB / 1.15 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006602/0.961, allocations: 175.7 kB / 1.15 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009073/0.9619, allocations: 0.7162 MB / 1.151 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/0.9633, allocations: 152.8 kB / 1.151 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/0.9634, allocations: 35.98 kB / 1.151 GB, free: 12.15 MB / 0.9044 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.0007496/0.9642, allocations: 416.9 kB / 1.152 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003762/0.9646, allocations: 134.3 kB / 1.152 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005191/0.9698, allocations: 1.404 MB / 1.153 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.9698, allocations: 8 kB / 1.153 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.9698, allocations: 0 / 1.153 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004573/0.9744, allocations: 1.24 MB / 1.154 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007793/0.9822, allocations: 2.747 MB / 1.157 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-05/0.9823, allocations: 8.031 kB / 1.157 GB, free: 6.027 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/0.9828, allocations: 115.9 kB / 1.157 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005511/0.9834, allocations: 132.8 kB / 1.157 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/0.9835, allocations: 23.98 kB / 1.157 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005191/0.9887, allocations: 2.497 MB / 1.16 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/0.9887, allocations: 7.938 kB / 1.16 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006005/0.9947, allocations: 1.852 MB / 1.161 GB, free: 1.184 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008459/0.9956, allocations: 331.1 kB / 1.162 GB, free: 0.8398 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003531/0.996, allocations: 27.92 kB / 1.162 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.9971, allocations: 87.91 kB / 1.162 GB, free: 0.7266 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.9973, allocations: 60.25 kB / 1.162 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.622e-05/0.9974, allocations: 31.98 kB / 1.162 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001601/0.999, allocations: 0.8701 MB / 1.163 GB, free: 15.77 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/0.999, allocations: 0 / 1.163 GB, free: 15.77 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002396/1.001, allocations: 0.7095 MB / 1.164 GB, free: 15.05 MB / 0.92 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.001108/1.003, allocations: 451.6 kB / 1.164 GB, free: 14.61 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002864/1.005, allocations: 1.172 MB / 1.165 GB, free: 13.44 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.005, allocations: 0 / 1.165 GB, free: 13.44 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/1.007, allocations: 0.5995 MB / 1.166 GB, free: 12.83 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/1.012, allocations: 0.7904 MB / 1.166 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/1.017, allocations: 2.859 MB / 1.169 GB, free: 9.117 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009434/1.018, allocations: 1.161 MB / 1.17 GB, free: 7.93 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004372/1.018, allocations: 119.4 kB / 1.171 GB, free: 7.812 MB / 0.92 GB Notification: Performance of SimCode: time 7.71e-07/1.018, allocations: 0 / 1.171 GB, free: 7.812 MB / 0.92 GB Notification: Performance of Templates: time 0.04569/1.064, allocations: 30.75 MB / 1.201 GB, free: 9.242 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches