Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|appCap.y|heaPum.com.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 92.78 kB / 16.02 MB, free: 80 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.001489/0.001489, allocations: 180.7 kB / 16.92 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.27 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.669/2.669, allocations: 437.8 MB / 0.7128 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003864, allocations: 12 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7494/0.7499, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.1329/0.8828, allocations: 127.9 MB / 1.149 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03851/0.9214, allocations: 25 MB / 1.173 GB, free: 6.496 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006432/0.9278, allocations: 123.2 kB / 1.173 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005609/0.9335, allocations: 1.418 MB / 1.175 GB, free: 4.949 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0146/0.9481, allocations: 4.214 MB / 1.179 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.009859/0.958, allocations: 3.187 MB / 1.182 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01523/0.9732, allocations: 11.43 MB / 1.193 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006005/0.9793, allocations: 2.544 MB / 1.195 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007779/0.9871, allocations: 2.772 MB / 1.198 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005128/0.9923, allocations: 2.313 MB / 1.2 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.001412/0.9937, allocations: 128 kB / 1.2 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008401/1.002, allocations: 2.48 MB / 1.203 GB, free: 7.789 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001879/1.004, allocations: 0.6221 MB / 1.203 GB, free: 7.164 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00496/1.009, allocations: 1.72 MB / 1.205 GB, free: 5.43 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.009348/1.018, allocations: 4.847 MB / 1.21 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/1.019, allocations: 0 / 1.21 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.526e-06/1.019, allocations: 3.938 kB / 1.21 GB, free: 0.5664 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002287/1.019, allocations: 4 kB / 1.21 GB, free: 0.5625 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01027/1.029, allocations: 3.378 MB / 1.213 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.584e-05/1.029, allocations: 8.031 kB / 1.213 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01043/1.04, allocations: 1.374 MB / 1.215 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006589/1.046, allocations: 2.937 MB / 1.217 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003775/1.047, allocations: 244 kB / 1.218 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008182/1.047, allocations: 243.9 kB / 1.218 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009848/1.057, allocations: 3.206 MB / 1.221 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.552e-05/1.057, allocations: 7.938 kB / 1.221 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005524/1.058, allocations: 108 kB / 1.221 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/1.058, allocations: 71.86 kB / 1.221 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009898/1.068, allocations: 2.831 MB / 1.224 GB, free: 1.762 MB / 0.9669 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.02481/1.093, allocations: 13.62 MB / 1.237 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004693/1.098, allocations: 1.438 MB / 1.239 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003161/1.101, allocations: 0.8925 MB / 1.24 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001972/1.103, allocations: 1.777 MB / 1.241 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003833/1.107, allocations: 1.173 MB / 1.242 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=126): time 5.891e-06/1.107, allocations: 0 / 1.242 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.03765/1.144, allocations: 9.824 MB / 1.252 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002951/1.145, allocations: 0.5766 MB / 1.253 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005513/1.15, allocations: 2.62 MB / 1.255 GB, free: 420 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004463/1.151, allocations: 65.64 kB / 1.255 GB, free: 348 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.6141/1.765, allocations: 1.333 MB / 1.257 GB, free: 221.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008104/1.766, allocations: 466.4 kB / 1.257 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005919/1.766, allocations: 147.2 kB / 1.257 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.181e-05/1.766, allocations: 306.4 kB / 1.257 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004399/1.771, allocations: 0.9631 MB / 1.258 GB, free: 221 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/1.776, allocations: 1.56 MB / 1.26 GB, free: 220 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007913/1.784, allocations: 2.231 MB / 1.262 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.195e-05/1.784, allocations: 3.469 kB / 1.262 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01389/1.798, allocations: 3.17 MB / 1.265 GB, free: 217.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003787/1.798, allocations: 497.2 kB / 1.266 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.946e-05/1.798, allocations: 14.28 kB / 1.266 GB, free: 217.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004119/1.802, allocations: 0.9293 MB / 1.267 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00328/1.806, allocations: 476.2 kB / 1.267 GB, free: 217 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003969/1.81, allocations: 2.205 MB / 1.269 GB, free: 215.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005276/1.815, allocations: 399.5 kB / 1.27 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004873/1.815, allocations: 108 kB / 1.27 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.815, allocations: 3.062 kB / 1.27 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01193/1.827, allocations: 2.887 MB / 1.272 GB, free: 214.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.715e-05/1.827, allocations: 13.42 kB / 1.272 GB, free: 214.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00343/1.831, allocations: 0.9306 MB / 1.273 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002871/1.834, allocations: 476.2 kB / 1.274 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003425/1.837, allocations: 2.189 MB / 1.276 GB, free: 212.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005103/1.842, allocations: 362 kB / 1.276 GB, free: 212.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004855/1.843, allocations: 105.8 kB / 1.276 GB, free: 212.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.002349/1.845, allocations: 0.7046 MB / 1.277 GB, free: 212.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009688/1.846, allocations: 281.6 kB / 1.277 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008591/1.855, allocations: 2.312 MB / 1.28 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.025e-05/1.855, allocations: 15.77 kB / 1.28 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/1.855, allocations: 6.75 kB / 1.28 GB, free: 211.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00661/1.861, allocations: 1.932 MB / 1.282 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01462/1.876, allocations: 6.287 MB / 1.288 GB, free: 207.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/1.876, allocations: 3.969 kB / 1.288 GB, free: 207.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/1.878, allocations: 304.3 kB / 1.288 GB, free: 207.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002597/1.881, allocations: 0.7902 MB / 1.289 GB, free: 207.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/1.881, allocations: 57.86 kB / 1.289 GB, free: 207.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002418/1.883, allocations: 1.961 MB / 1.291 GB, free: 205.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/1.883, allocations: 15.47 kB / 1.291 GB, free: 205.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01149/1.895, allocations: 3.547 MB / 1.294 GB, free: 203.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/1.897, allocations: 0.6533 MB / 1.295 GB, free: 203.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009539/1.898, allocations: 45.33 kB / 1.295 GB, free: 203.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003755/1.901, allocations: 287.4 kB / 1.295 GB, free: 203 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/1.902, allocations: 115.4 kB / 1.295 GB, free: 203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/1.902, allocations: 73.7 kB / 1.295 GB, free: 202.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003629/1.906, allocations: 1.841 MB / 1.297 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.906, allocations: 4 kB / 1.297 GB, free: 201.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005725/1.911, allocations: 1.481 MB / 1.299 GB, free: 201.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,17), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002005/1.913, allocations: 0.8057 MB / 1.299 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01228/1.926, allocations: 3.686 MB / 1.303 GB, free: 197.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.951e-05/1.926, allocations: 4.438 kB / 1.303 GB, free: 197.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003411/1.929, allocations: 1.008 MB / 1.304 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01206/1.941, allocations: 1.575 MB / 1.305 GB, free: 195 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/1.955, allocations: 6.365 MB / 1.312 GB, free: 188.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.956, allocations: 1.714 MB / 1.313 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/1.957, allocations: 291.1 kB / 1.314 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/1.957, allocations: 0 / 1.314 GB, free: 186.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.08228/2.039, allocations: 82.12 MB / 1.394 GB, free: 104.7 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches