Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001533/0.001533, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.2 MB / 239.9 MB, free: 5.355 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.36/2.36, allocations: 390.3 MB / 0.6653 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 8 kB / 0.8145 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7417/0.7421, allocations: 142.3 MB / 0.9535 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1071/0.8492, allocations: 109.4 MB / 1.06 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0333/0.8825, allocations: 21.43 MB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005404/0.888, allocations: 111.2 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006237/0.8943, allocations: 1.461 MB / 1.083 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01511/0.9094, allocations: 4.19 MB / 1.087 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01001/0.9194, allocations: 3.132 MB / 1.09 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01083/0.9303, allocations: 5.09 MB / 1.095 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00558/0.9359, allocations: 2.274 MB / 1.097 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007396/0.9433, allocations: 2.429 MB / 1.1 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003831/0.9471, allocations: 1.559 MB / 1.101 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001104/0.9483, allocations: 132 kB / 1.101 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00658/0.9549, allocations: 1.751 MB / 1.103 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00142/0.9563, allocations: 0.568 MB / 1.103 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001894/0.9582, allocations: 0.7343 MB / 1.104 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.007677/0.9659, allocations: 4.549 MB / 1.109 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.9659, allocations: 0 / 1.109 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9659, allocations: 0 / 1.109 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000226/0.9662, allocations: 0 / 1.109 GB, free: 0.9648 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.008815/0.975, allocations: 3.347 MB / 1.112 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.9751, allocations: 12.03 kB / 1.112 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.9854, allocations: 1.369 MB / 1.113 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006248/0.9917, allocations: 2.713 MB / 1.116 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/0.992, allocations: 251.9 kB / 1.116 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007282/0.9928, allocations: 231.9 kB / 1.116 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/1.003, allocations: 3.138 MB / 1.119 GB, free: 5.531 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/1.003, allocations: 3.938 kB / 1.119 GB, free: 5.527 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007581/1.004, allocations: 100 kB / 1.119 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/1.004, allocations: 71.94 kB / 1.12 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009611/1.014, allocations: 2.772 MB / 1.122 GB, free: 2.57 MB / 0.8731 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.02402/1.038, allocations: 13.39 MB / 1.135 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004423/1.042, allocations: 1.416 MB / 1.137 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001903/1.044, allocations: 1.793 MB / 1.138 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003664/1.048, allocations: 1.153 MB / 1.14 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=126): time 6.202e-06/1.048, allocations: 0 / 1.14 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=126): time 0.0217/1.069, allocations: 4.238 MB / 1.144 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003094/1.07, allocations: 0.5805 MB / 1.144 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00512/1.075, allocations: 2.587 MB / 1.147 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0003836/1.075, allocations: 57.7 kB / 1.147 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00128/1.077, allocations: 1.34 MB / 1.148 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007136/1.077, allocations: 451.3 kB / 1.149 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002879/1.078, allocations: 36 kB / 1.149 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002297/1.078, allocations: 377.9 kB / 1.149 GB, free: 5.855 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003806/1.082, allocations: 0.9603 MB / 1.15 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004207/1.086, allocations: 1.536 MB / 1.151 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003968/1.09, allocations: 1.105 MB / 1.153 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/1.09, allocations: 0 / 1.153 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01273/1.103, allocations: 3.11 MB / 1.156 GB, free: 14.88 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.001937/1.105, allocations: 5.02 MB / 1.16 GB, free: 9.434 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-05/1.105, allocations: 12.12 kB / 1.16 GB, free: 9.422 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002668/1.107, allocations: 0.7333 MB / 1.161 GB, free: 8.691 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/1.11, allocations: 0.5031 MB / 1.162 GB, free: 8.188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002338/1.113, allocations: 1.797 MB / 1.163 GB, free: 6.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004952/1.118, allocations: 0.5099 MB / 1.164 GB, free: 5.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003778/1.118, allocations: 107.9 kB / 1.164 GB, free: 5.723 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/1.118, allocations: 13.59 kB / 1.164 GB, free: 5.711 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01169/1.13, allocations: 2.829 MB / 1.167 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.821e-05/1.13, allocations: 12 kB / 1.167 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002516/1.132, allocations: 0.7315 MB / 1.168 GB, free: 2.129 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002854/1.135, allocations: 0.5031 MB / 1.168 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/1.138, allocations: 1.79 MB / 1.17 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004404/1.142, allocations: 463.7 kB / 1.17 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003237/1.142, allocations: 103.9 kB / 1.17 GB, free: 15.23 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001714/1.144, allocations: 0.6958 MB / 1.171 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000794/1.145, allocations: 276.7 kB / 1.171 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/1.157, allocations: 2.592 MB / 1.174 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-05/1.157, allocations: 12 kB / 1.174 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/1.157, allocations: 4 kB / 1.174 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01106/1.168, allocations: 2.224 MB / 1.176 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01716/1.185, allocations: 6.53 MB / 1.182 GB, free: 2.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-05/1.185, allocations: 8 kB / 1.182 GB, free: 2.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/1.187, allocations: 299.6 kB / 1.183 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002546/1.19, allocations: 0.7107 MB / 1.183 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/1.19, allocations: 48.06 kB / 1.183 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/1.192, allocations: 1.798 MB / 1.185 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/1.192, allocations: 11.94 kB / 1.185 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/1.205, allocations: 4.301 MB / 1.189 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001773/1.207, allocations: 0.6768 MB / 1.19 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007859/1.207, allocations: 36 kB / 1.19 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003607/1.211, allocations: 287.2 kB / 1.19 GB, free: 9.953 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/1.211, allocations: 124.6 kB / 1.19 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001969/1.211, allocations: 71.92 kB / 1.191 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003919/1.215, allocations: 1.813 MB / 1.192 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/1.215, allocations: 0 / 1.192 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.006005/1.221, allocations: 1.692 MB / 1.194 GB, free: 6.25 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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 (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.002076/1.224, allocations: 0.821 MB / 1.195 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01272/1.236, allocations: 3.591 MB / 1.198 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/1.236, allocations: 4.438 kB / 1.198 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003878/1.24, allocations: 1.054 MB / 1.199 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007477/1.248, allocations: 1.352 MB / 1.201 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/1.263, allocations: 6.113 MB / 1.207 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002046/1.266, allocations: 1.769 MB / 1.208 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.004334/1.27, allocations: 0.6965 MB / 1.209 GB, free: 6.723 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009278/1.271, allocations: 235.3 kB / 1.209 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of SimCode: time 1.603e-06/1.271, allocations: 0 / 1.209 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of Templates: time 0.6338/1.905, allocations: 65.68 MB / 1.273 GB, free: 257.3 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches