Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.518/1.518, allocations: 249.5 MB / 257 MB, free: 6.992 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.001279/0.00128, allocations: 184.1 kB / 316.3 MB, free: 3.301 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.73/1.73, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008538/0.0008537, allocations: 88.67 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.954e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2736, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.737/2.011, allocations: 428.4 MB / 1.304 GB, free: 317.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/2.011, allocations: 90.56 kB / 1.304 GB, free: 317.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.496/3.507, allocations: 0.4998 GB / 1.803 GB, free: 141 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.663e-06/3.507, allocations: 0 / 1.803 GB, free: 141 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000137/3.507, allocations: 38.61 kB / 1.803 GB, free: 140.9 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004013/3.511, allocations: 1.896 MB / 1.805 GB, free: 139 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/3.511, allocations: 8.031 kB / 1.805 GB, free: 139 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/3.513, allocations: 328 kB / 1.806 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/3.515, allocations: 1.624 MB / 1.807 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/3.516, allocations: 113.5 kB / 1.807 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/3.516, allocations: 67.72 kB / 1.807 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001497/3.517, allocations: 0.9954 MB / 1.808 GB, free: 135.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001597/3.519, allocations: 1.109 MB / 1.809 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/3.519, allocations: 3.938 kB / 1.809 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.714e-05/3.519, allocations: 4.812 kB / 1.809 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/3.519, allocations: 30.28 kB / 1.809 GB, free: 134.7 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.007101/3.526, allocations: 6.705 MB / 1.816 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/3.527, allocations: 0.5814 MB / 1.817 GB, free: 127 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/3.527, allocations: 370.5 kB / 1.817 GB, free: 126.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004993/3.528, allocations: 0.8386 MB / 1.818 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/3.528, allocations: 43.12 kB / 1.818 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=63): time 2.996e-06/3.528, allocations: 0 / 1.818 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63): time 0.00146/3.529, allocations: 0.8059 MB / 1.819 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/3.529, allocations: 111.4 kB / 1.819 GB, free: 124.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/3.531, allocations: 1.145 MB / 1.82 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.985e-05/3.531, allocations: 29.7 kB / 1.82 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/3.531, allocations: 0.7579 MB / 1.821 GB, free: 122.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/3.531, allocations: 212.9 kB / 1.821 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/3.531, allocations: 0 / 1.821 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001004/3.532, allocations: 341.9 kB / 1.821 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/3.532, allocations: 346.5 kB / 1.821 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/3.533, allocations: 0.6051 MB / 1.822 GB, free: 121 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/3.533, allocations: 418.5 kB / 1.822 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/3.533, allocations: 0 / 1.822 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001551/3.535, allocations: 1.03 MB / 1.823 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004436/3.535, allocations: 1.872 MB / 1.825 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/3.535, allocations: 7.938 kB / 1.825 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/3.535, allocations: 8 kB / 1.825 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/3.536, allocations: 271.6 kB / 1.826 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/3.536, allocations: 15.94 kB / 1.826 GB, free: 117.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/3.538, allocations: 201.7 kB / 1.826 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.723e-05/3.538, allocations: 35.98 kB / 1.826 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/3.538, allocations: 4 kB / 1.826 GB, free: 117.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001353/3.539, allocations: 0.8496 MB / 1.827 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/3.539, allocations: 4.625 kB / 1.827 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/3.539, allocations: 8 kB / 1.827 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/3.54, allocations: 275.6 kB / 1.827 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/3.54, allocations: 8 kB / 1.827 GB, free: 115.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/3.542, allocations: 181.7 kB / 1.827 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.913e-05/3.542, allocations: 43.94 kB / 1.827 GB, free: 115.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.uMod,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * 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.0002358/3.542, allocations: 120.8 kB / 1.827 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/3.542, allocations: 142.3 kB / 1.827 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/3.544, allocations: 0.9501 MB / 1.828 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/3.544, allocations: 12 kB / 1.828 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/3.544, allocations: 0 / 1.828 GB, free: 114.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001037/3.545, allocations: 0.818 MB / 1.829 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003437/3.549, allocations: 2.44 MB / 1.831 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/3.549, allocations: 4 kB / 1.831 GB, free: 111.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009289/3.549, allocations: 200 kB / 1.832 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/3.55, allocations: 8 kB / 1.832 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-05/3.55, allocations: 11.98 kB / 1.832 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/3.55, allocations: 8 kB / 1.832 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.79e-06/3.55, allocations: 4 kB / 1.832 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/3.552, allocations: 1.702 MB / 1.833 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006384/3.552, allocations: 375.1 kB / 1.834 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/3.552, allocations: 7.984 kB / 1.834 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/3.553, allocations: 119.8 kB / 1.834 GB, free: 108.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/3.554, allocations: 76.39 kB / 1.834 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-05/3.554, allocations: 27.98 kB / 1.834 GB, free: 108.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001058/3.555, allocations: 0.8639 MB / 1.835 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/3.555, allocations: 0 / 1.835 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002266/3.557, allocations: 0.8405 MB / 1.836 GB, free: 106.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (heaPum.uMod,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.001343/3.558, allocations: 0.7936 MB / 1.836 GB, free: 106 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001915/3.56, allocations: 1.366 MB / 1.838 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/3.56, allocations: 5 kB / 1.838 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006107/3.561, allocations: 470.1 kB / 1.838 GB, free: 104.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/3.564, allocations: 0.5767 MB / 1.839 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/3.567, allocations: 2.002 MB / 1.841 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/3.568, allocations: 1.306 MB / 1.842 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002017/3.57, allocations: 0.4911 MB / 1.842 GB, free: 99.79 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/3.57, allocations: 87.41 kB / 1.843 GB, free: 99.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.372e-06/3.57, allocations: 2.406 kB / 1.843 GB, free: 99.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.04053/3.611, allocations: 28.38 MB / 1.87 GB, free: 71.61 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches