Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001251/0.001251, allocations: 100.1 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.001589/0.001589, 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.331/1.331, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.505/2.505, allocations: 436.5 MB / 0.7104 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003384, allocations: 12 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5796/0.5799, allocations: 153.7 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.09819/0.6782, allocations: 109.4 MB / 1.128 GB, free: 3.477 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03352/0.7117, allocations: 21.44 MB / 1.149 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006043/0.7178, allocations: 119.2 kB / 1.149 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.007194/0.7251, allocations: 1.465 MB / 1.15 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01904/0.7441, allocations: 4.19 MB / 1.154 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.01208/0.7562, allocations: 3.127 MB / 1.157 GB, free: 5.133 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01051/0.7668, allocations: 5.094 MB / 1.162 GB, free: 28 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004533/0.7713, allocations: 2.27 MB / 1.164 GB, free: 13.71 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006168/0.7775, allocations: 2.429 MB / 1.167 GB, free: 11.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003505/0.7811, allocations: 1.567 MB / 1.168 GB, free: 9.699 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.7822, allocations: 128 kB / 1.168 GB, free: 9.574 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006046/0.7883, allocations: 1.751 MB / 1.17 GB, free: 7.82 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001356/0.7897, allocations: 0.5641 MB / 1.171 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00168/0.7914, allocations: 0.7305 MB / 1.171 GB, free: 6.516 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006774/0.7982, allocations: 4.549 MB / 1.176 GB, free: 1.957 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7982, allocations: 0 / 1.176 GB, free: 1.957 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7982, allocations: 4 kB / 1.176 GB, free: 1.953 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001606/0.7984, allocations: 0 / 1.176 GB, free: 1.953 MB / 0.92 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.008411/0.8068, allocations: 3.351 MB / 1.179 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.8069, allocations: 11.98 kB / 1.179 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01635/0.8232, allocations: 1.373 MB / 1.181 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008389/0.8317, allocations: 2.71 MB / 1.183 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004585/0.8322, allocations: 251.9 kB / 1.183 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008694/0.8331, allocations: 239.9 kB / 1.184 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/0.8456, allocations: 3.13 MB / 1.187 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/0.8458, allocations: 3.938 kB / 1.187 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000634/0.8464, allocations: 108 kB / 1.187 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/0.8466, allocations: 63.98 kB / 1.187 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/0.861, allocations: 2.776 MB / 1.19 GB, free: 3.551 MB / 0.9356 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.02672/0.8878, allocations: 13.38 MB / 1.203 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00467/0.8925, allocations: 1.42 MB / 1.204 GB, free: 4.129 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001921/0.8945, allocations: 1.781 MB / 1.206 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003618/0.8981, allocations: 1.161 MB / 1.207 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=126): time 4.558e-06/0.8981, allocations: 0 / 1.207 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=126): time 0.02143/0.9196, allocations: 4.238 MB / 1.211 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002581/0.9199, allocations: 0.5766 MB / 1.212 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004721/0.9246, allocations: 2.591 MB / 1.214 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0003724/0.925, allocations: 65.7 kB / 1.214 GB, free: 9.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.9264, allocations: 1.34 MB / 1.215 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000605/0.927, allocations: 445.6 kB / 1.216 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001836/0.9272, allocations: 36 kB / 1.216 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.9274, allocations: 369.9 kB / 1.216 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00367/0.9311, allocations: 0.9642 MB / 1.217 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004068/0.9351, allocations: 1.532 MB / 1.219 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003864/0.939, allocations: 1.102 MB / 1.22 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.939, allocations: 4 kB / 1.22 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01221/0.9513, allocations: 3.117 MB / 1.223 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.001879/0.9532, allocations: 5.015 MB / 1.228 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/0.9532, allocations: 16 kB / 1.228 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/0.9558, allocations: 0.7322 MB / 1.228 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/0.9587, allocations: 0.5109 MB / 1.229 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.9612, allocations: 1.794 MB / 1.231 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004851/0.966, allocations: 0.5128 MB / 1.231 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003527/0.9664, allocations: 107.9 kB / 1.231 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.9664, allocations: 4 kB / 1.231 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01191/0.9783, allocations: 2.841 MB / 1.234 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.106e-05/0.9784, allocations: 12.16 kB / 1.234 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002573/0.981, allocations: 0.7196 MB / 1.235 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002774/0.9838, allocations: 0.5031 MB / 1.235 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/0.9862, allocations: 1.795 MB / 1.237 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/0.9905, allocations: 457.8 kB / 1.238 GB, free: 336 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002662/0.9907, allocations: 103.8 kB / 1.238 GB, free: 232 kB / 0.9825 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.001659/0.9924, allocations: 0.7037 MB / 1.238 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007612/0.9932, allocations: 268.7 kB / 1.239 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/1.005, allocations: 2.592 MB / 1.241 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.418e-05/1.005, allocations: 19.94 kB / 1.241 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/1.005, allocations: 0 / 1.241 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01015/1.015, allocations: 2.213 MB / 1.243 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01614/1.031, allocations: 6.547 MB / 1.25 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/1.031, allocations: 8 kB / 1.25 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001817/1.033, allocations: 296.2 kB / 1.25 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/1.036, allocations: 0.7117 MB / 1.251 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/1.036, allocations: 55.94 kB / 1.251 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/1.038, allocations: 1.788 MB / 1.252 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/1.038, allocations: 8 kB / 1.252 GB, free: 0.7266 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4853/1.523, allocations: 4.287 MB / 1.257 GB, free: 219.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/1.525, allocations: 0.6798 MB / 1.257 GB, free: 219 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005745/1.526, allocations: 44.03 kB / 1.257 GB, free: 219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003288/1.529, allocations: 285.5 kB / 1.258 GB, free: 219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/1.529, allocations: 117.9 kB / 1.258 GB, free: 219 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001742/1.529, allocations: 71.97 kB / 1.258 GB, free: 219 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003437/1.533, allocations: 1.813 MB / 1.26 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.533, allocations: 0.6875 kB / 1.26 GB, free: 218.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005352/1.538, allocations: 1.69 MB / 1.261 GB, free: 218.1 MB / 0.9981 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.00191/1.54, allocations: 0.8173 MB / 1.262 GB, free: 217.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01268/1.553, allocations: 3.591 MB / 1.266 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/1.553, allocations: 3.812 kB / 1.266 GB, free: 216.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003563/1.557, allocations: 1.046 MB / 1.267 GB, free: 216.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006942/1.563, allocations: 1.377 MB / 1.268 GB, free: 216.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/1.577, allocations: 6.099 MB / 1.274 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001949/1.579, allocations: 1.77 MB / 1.276 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004026/1.583, allocations: 0.6965 MB / 1.276 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008497/1.584, allocations: 238.4 kB / 1.276 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.31e-07/1.584, allocations: 4 kB / 1.277 GB, free: 212.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.08482/1.669, allocations: 65.68 MB / 1.341 GB, free: 157.2 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches