Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0008013/0.0008009, allocations: 92.16 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.0008981/0.0008982, allocations: 172.9 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.381/1.381, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.353/2.353, allocations: 390.9 MB / 0.667 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003765, allocations: 12 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7073/0.7077, allocations: 142.4 MB / 0.9557 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.13/0.8377, allocations: 127.9 MB / 1.081 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03836/0.8761, allocations: 25.01 MB / 1.105 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005937/0.8821, allocations: 119.2 kB / 1.105 GB, free: 5.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005346/0.8875, allocations: 1.418 MB / 1.107 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01394/0.9014, allocations: 4.203 MB / 1.111 GB, free: 272 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.009347/0.9108, allocations: 3.195 MB / 1.114 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01444/0.9253, allocations: 11.42 MB / 1.125 GB, free: 1.656 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005504/0.9308, allocations: 2.548 MB / 1.127 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007355/0.9382, allocations: 2.769 MB / 1.13 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004996/0.9432, allocations: 2.317 MB / 1.132 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001298/0.9446, allocations: 132 kB / 1.132 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007605/0.9522, allocations: 2.476 MB / 1.135 GB, free: 7.328 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001504/0.9537, allocations: 0.6221 MB / 1.136 GB, free: 6.703 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00406/0.9578, allocations: 1.731 MB / 1.137 GB, free: 4.957 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008153/0.966, allocations: 4.84 MB / 1.142 GB, free: 108 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.966, allocations: 0 / 1.142 GB, free: 108 kB / 0.8887 GB Notification: Performance of FrontEnd: time 2.504e-06/0.9661, allocations: 0 / 1.142 GB, free: 108 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001882/0.9663, allocations: 0 / 1.142 GB, free: 108 kB / 0.8887 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.00858/0.9748, allocations: 3.386 MB / 1.145 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.9749, allocations: 12.03 kB / 1.145 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.9856, allocations: 1.369 MB / 1.147 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006224/0.9919, allocations: 2.926 MB / 1.149 GB, free: 8.227 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/0.9922, allocations: 263.9 kB / 1.15 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000521/0.9927, allocations: 236 kB / 1.15 GB, free: 7.723 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008295/1.001, allocations: 3.21 MB / 1.153 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.695e-05/1.001, allocations: 11.84 kB / 1.153 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003328/1.001, allocations: 107.9 kB / 1.153 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.363e-05/1.002, allocations: 67.98 kB / 1.153 GB, free: 4.141 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009594/1.011, allocations: 2.827 MB / 1.156 GB, free: 1.297 MB / 0.9044 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.02357/1.035, allocations: 13.61 MB / 1.169 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004375/1.039, allocations: 1.431 MB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003152/1.042, allocations: 0.8886 MB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001825/1.044, allocations: 1.785 MB / 1.173 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004008/1.048, allocations: 1.166 MB / 1.174 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=126): time 1.014e-05/1.048, allocations: 0 / 1.174 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=132): time 0.03668/1.085, allocations: 9.814 MB / 1.184 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002594/1.085, allocations: 0.5805 MB / 1.185 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004426/1.09, allocations: 2.616 MB / 1.187 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004185/1.09, allocations: 61.69 kB / 1.187 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/1.092, allocations: 1.346 MB / 1.189 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007197/1.092, allocations: 465.5 kB / 1.189 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/1.093, allocations: 145.6 kB / 1.189 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.093, allocations: 309.1 kB / 1.189 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003908/1.097, allocations: 0.9642 MB / 1.19 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/1.101, allocations: 1.554 MB / 1.192 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007693/1.109, allocations: 2.236 MB / 1.194 GB, free: 8.449 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-05/1.109, allocations: 4 kB / 1.194 GB, free: 8.445 MB / 0.9512 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01245/1.122, allocations: 3.183 MB / 1.197 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004839/1.122, allocations: 493.8 kB / 1.198 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/1.122, allocations: 15.94 kB / 1.198 GB, free: 4.562 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003242/1.125, allocations: 0.9324 MB / 1.199 GB, free: 3.629 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002763/1.128, allocations: 483.2 kB / 1.199 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003401/1.132, allocations: 2.2 MB / 1.201 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00509/1.137, allocations: 399.2 kB / 1.202 GB, free: 0.5156 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003683/1.137, allocations: 107.9 kB / 1.202 GB, free: 420 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.137, allocations: 8 kB / 1.202 GB, free: 412 kB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01141/1.149, allocations: 2.884 MB / 1.204 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.061e-05/1.149, allocations: 12 kB / 1.204 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/1.152, allocations: 0.9284 MB / 1.205 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002737/1.155, allocations: 479.2 kB / 1.206 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003562/1.158, allocations: 2.19 MB / 1.208 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004633/1.163, allocations: 363.4 kB / 1.208 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003378/1.163, allocations: 103.9 kB / 1.208 GB, free: 9.398 MB / 0.9669 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.001678/1.165, allocations: 0.6958 MB / 1.209 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006671/1.166, allocations: 292.5 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007921/1.173, allocations: 2.315 MB / 1.212 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.881e-05/1.174, allocations: 12 kB / 1.212 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.174, allocations: 4 kB / 1.212 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006782/1.18, allocations: 1.928 MB / 1.214 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/1.197, allocations: 6.293 MB / 1.22 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/1.197, allocations: 8.656 kB / 1.22 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001889/1.199, allocations: 291.8 kB / 1.22 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002882/1.202, allocations: 0.798 MB / 1.221 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002141/1.202, allocations: 55.94 kB / 1.221 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002873/1.205, allocations: 1.959 MB / 1.223 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/1.205, allocations: 11.94 kB / 1.223 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/1.217, allocations: 3.568 MB / 1.226 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001871/1.219, allocations: 0.6496 MB / 1.227 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009141/1.22, allocations: 36 kB / 1.227 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003937/1.224, allocations: 283.6 kB / 1.227 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003142/1.225, allocations: 112.7 kB / 1.227 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002495/1.225, allocations: 75.92 kB / 1.227 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0042/1.229, allocations: 1.84 MB / 1.229 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.51e-07/1.229, allocations: 3.938 kB / 1.229 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.006108/1.235, allocations: 1.476 MB / 1.231 GB, free: 2.262 MB / 0.9825 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.002189/1.237, allocations: 0.797 MB / 1.231 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0137/1.251, allocations: 3.694 MB / 1.235 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-05/1.251, allocations: 448 / 1.235 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00381/1.255, allocations: 1.012 MB / 1.236 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01175/1.267, allocations: 1.575 MB / 1.237 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0154/1.282, allocations: 6.382 MB / 1.244 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/1.284, allocations: 1.71 MB / 1.245 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.285, allocations: 295.2 kB / 1.246 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.285, allocations: 0 / 1.246 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of Templates: time 0.5826/1.868, allocations: 82.11 MB / 1.326 GB, free: 216.1 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches