Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QLoa_flow|heaPum.QSou_flow|QLoa_flow_EP.y|QSou_flow_EP.y|heaPum.P|P_EP.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QLoa_flow|heaPum.QSou_flow|QLoa_flow_EP.y|QSou_flow_EP.y|heaPum.P|P_EP.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 187.1 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.3 MB / 0.5671 GB, free: 15.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008172/0.0008175, allocations: 88.27 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.572e-05/1.574e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2076, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.724/1.931, allocations: 411.2 MB / 1.287 GB, free: 256 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003648/1.932, allocations: 90.3 kB / 1.287 GB, free: 256 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.769/3.701, allocations: 0.5953 GB / 1.882 GB, free: 38.51 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.403e-06/3.701, allocations: 0 / 1.882 GB, free: 38.51 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001249/3.701, allocations: 39.75 kB / 1.882 GB, free: 38.47 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003262/3.705, allocations: 1.735 MB / 1.884 GB, free: 36.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/3.705, allocations: 8.031 kB / 1.884 GB, free: 36.69 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001963/3.707, allocations: 0.4897 MB / 1.884 GB, free: 36.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/3.709, allocations: 1.496 MB / 1.886 GB, free: 34.69 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006621/3.71, allocations: 246.2 kB / 1.886 GB, free: 34.43 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/3.71, allocations: 52 kB / 1.886 GB, free: 34.38 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001492/3.712, allocations: 0.9919 MB / 1.887 GB, free: 33.39 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/3.713, allocations: 0.9762 MB / 1.888 GB, free: 32.38 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/3.713, allocations: 0 / 1.888 GB, free: 32.38 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.74e-05/3.713, allocations: 4 kB / 1.888 GB, free: 32.37 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/3.713, allocations: 24 kB / 1.888 GB, free: 32.35 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.005899/3.719, allocations: 4.322 MB / 1.892 GB, free: 27.86 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005559/3.725, allocations: 1.605 MB / 1.894 GB, free: 26.24 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000444/3.725, allocations: 358.4 kB / 1.894 GB, free: 25.89 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007422/3.726, allocations: 1.159 MB / 1.895 GB, free: 24.48 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005595/3.726, allocations: 445.8 kB / 1.896 GB, free: 24.03 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=58): time 4.328e-06/3.726, allocations: 0 / 1.896 GB, free: 24.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58): time 0.001671/3.728, allocations: 0.8448 MB / 1.897 GB, free: 23.18 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/3.728, allocations: 81.67 kB / 1.897 GB, free: 23.08 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/3.73, allocations: 1.196 MB / 1.898 GB, free: 21.87 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.933e-05/3.73, allocations: 33.7 kB / 1.898 GB, free: 21.83 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005042/3.73, allocations: 0.6658 MB / 1.899 GB, free: 21.16 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/3.731, allocations: 197.1 kB / 1.899 GB, free: 20.96 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/3.731, allocations: 0 / 1.899 GB, free: 20.96 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.886e-05/3.731, allocations: 333.9 kB / 1.899 GB, free: 20.63 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/3.731, allocations: 341.5 kB / 1.899 GB, free: 20.29 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/3.732, allocations: 0.5362 MB / 1.9 GB, free: 19.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007955/3.732, allocations: 432.1 kB / 1.9 GB, free: 19.26 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/3.732, allocations: 0 / 1.9 GB, free: 19.26 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001719/3.734, allocations: 0.993 MB / 1.901 GB, free: 18.26 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002939/3.734, allocations: 0.8979 MB / 1.902 GB, free: 17.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/3.734, allocations: 4 kB / 1.902 GB, free: 17.31 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/3.735, allocations: 4 kB / 1.902 GB, free: 17.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/3.736, allocations: 215.7 kB / 1.902 GB, free: 17.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/3.736, allocations: 11.98 kB / 1.902 GB, free: 17.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/3.737, allocations: 207.3 kB / 1.903 GB, free: 16.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/3.737, allocations: 35.97 kB / 1.903 GB, free: 16.84 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/3.737, allocations: 0 / 1.903 GB, free: 16.84 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001533/3.739, allocations: 0.8212 MB / 1.903 GB, free: 16.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/3.739, allocations: 4 kB / 1.903 GB, free: 16.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/3.739, allocations: 4.281 kB / 1.903 GB, free: 16.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/3.74, allocations: 219.7 kB / 1.904 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/3.74, allocations: 15.89 kB / 1.904 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/3.741, allocations: 167.4 kB / 1.904 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-05/3.741, allocations: 31.98 kB / 1.904 GB, free: 15.59 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003019/3.742, allocations: 121 kB / 1.904 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/3.742, allocations: 142.2 kB / 1.904 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/3.744, allocations: 1.061 MB / 1.905 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/3.744, allocations: 15.98 kB / 1.905 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/3.744, allocations: 0 / 1.905 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.482e-05/3.744, allocations: 11.94 kB / 1.905 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004271/3.749, allocations: 2.475 MB / 1.908 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/3.749, allocations: 4 kB / 1.908 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007478/3.749, allocations: 168.1 kB / 1.908 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/3.749, allocations: 8 kB / 1.908 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-05/3.75, allocations: 11.98 kB / 1.908 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.406e-06/3.75, allocations: 11.88 kB / 1.908 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/3.75, allocations: 11.94 kB / 1.908 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/3.751, allocations: 1.272 MB / 1.909 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006818/3.752, allocations: 390.9 kB / 1.909 GB, free: 9.664 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/3.752, allocations: 7.953 kB / 1.909 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/3.753, allocations: 107.9 kB / 1.91 GB, free: 9.551 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/3.753, allocations: 56.48 kB / 1.91 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.311e-05/3.754, allocations: 35.97 kB / 1.91 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001433/3.755, allocations: 0.9063 MB / 1.911 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/3.755, allocations: 0 / 1.911 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002666/3.758, allocations: 0.7402 MB / 1.911 GB, free: 7.816 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002396/3.76, allocations: 1.052 MB / 1.912 GB, free: 6.871 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002015/3.762, allocations: 1.318 MB / 1.914 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/3.762, allocations: 0 / 1.914 GB, free: 5.551 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005187/3.763, allocations: 446 kB / 1.914 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002428/3.765, allocations: 498.9 kB / 1.914 GB, free: 4.633 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/3.769, allocations: 1.83 MB / 1.916 GB, free: 2.734 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/3.77, allocations: 1.272 MB / 1.918 GB, free: 1.434 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002286/3.772, allocations: 0.4974 MB / 1.918 GB, free: 0.9336 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/3.773, allocations: 87.39 kB / 1.918 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of SimCode: time 2.414e-06/3.773, allocations: 0 / 1.918 GB, free: 0.8477 MB / 0.8698 GB Notification: Performance of Templates: time 0.6932/4.466, allocations: 26.23 MB / 1.944 GB, free: 156.8 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches