Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.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.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.665/1.665, allocations: 249.5 MB / 257 MB, free: 6.863 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.00104/0.00104, allocations: 168.9 kB / 316.3 MB, free: 3.234 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.909/1.909, 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.001043/0.001043, allocations: 94.47 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.206e-05/2.207e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3206, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8977/1.218, allocations: 136.3 MB / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/1.219, allocations: 92.36 kB / 1.018 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02121/1.24, allocations: 7.866 MB / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.054e-06/1.24, allocations: 0 / 1.026 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.82e-05/1.24, allocations: 8 kB / 1.026 GB, free: 11.04 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001223/1.241, allocations: 0.608 MB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/1.241, allocations: 8.031 kB / 1.027 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007782/1.242, allocations: 158.6 kB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/1.243, allocations: 344.5 kB / 1.027 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/1.243, allocations: 75.62 kB / 1.027 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/1.243, allocations: 8 kB / 1.027 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000531/1.244, allocations: 314.1 kB / 1.028 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000396/1.244, allocations: 231.9 kB / 1.028 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/1.244, allocations: 0 / 1.028 GB, free: 9.465 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/1.244, allocations: 3.938 kB / 1.028 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.244, allocations: 0 / 1.028 GB, free: 9.461 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/1.246, allocations: 0.8383 MB / 1.029 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000321/1.246, allocations: 210.2 kB / 1.029 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/1.246, allocations: 159.2 kB / 1.029 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/1.246, allocations: 3.188 kB / 1.029 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/1.246, allocations: 34.56 kB / 1.029 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/1.246, allocations: 0 / 1.029 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006173/1.247, allocations: 355.9 kB / 1.029 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/1.247, allocations: 55.41 kB / 1.029 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/1.247, allocations: 344.7 kB / 1.03 GB, free: 7.941 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.618e-05/1.247, allocations: 29.64 kB / 1.03 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/1.247, allocations: 182.4 kB / 1.03 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.45e-05/1.247, allocations: 49.95 kB / 1.03 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/1.247, allocations: 0 / 1.03 GB, free: 7.746 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.248, allocations: 346.5 kB / 1.03 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/1.248, allocations: 144.9 kB / 1.03 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/1.248, allocations: 173 kB / 1.031 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/1.248, allocations: 126.8 kB / 1.031 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.248, allocations: 0 / 1.031 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005407/1.249, allocations: 357.8 kB / 1.031 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/1.249, allocations: 4 kB / 1.031 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.249, allocations: 0 / 1.031 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/1.249, allocations: 0 / 1.031 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/1.249, allocations: 79.48 kB / 1.031 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/1.249, allocations: 0 / 1.031 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003327/1.25, allocations: 51.8 kB / 1.031 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/1.25, allocations: 4 kB / 1.031 GB, free: 6.762 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (equFit.uMod) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001218/1.25, allocations: 108.9 kB / 1.031 GB, free: 6.648 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/1.25, allocations: 35.58 kB / 1.031 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/1.25, allocations: 37 kB / 1.031 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/1.25, allocations: 4 kB / 1.031 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.25, allocations: 0 / 1.031 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.25, allocations: 0 / 1.031 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005345/1.251, allocations: 447.7 kB / 1.032 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.251, allocations: 4 kB / 1.032 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004215/1.251, allocations: 67.92 kB / 1.032 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/1.251, allocations: 3.953 kB / 1.032 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.721e-05/1.251, allocations: 0 / 1.032 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/1.251, allocations: 7.938 kB / 1.032 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.251, allocations: 4 kB / 1.032 GB, free: 6.117 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005775/1.252, allocations: 449.8 kB / 1.032 GB, free: 5.777 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/1.252, allocations: 112.7 kB / 1.032 GB, free: 5.652 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.648e-05/1.252, allocations: 3.953 kB / 1.032 GB, free: 5.648 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/1.252, allocations: 47.95 kB / 1.032 GB, free: 5.602 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.747e-05/1.252, allocations: 27.73 kB / 1.032 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.306e-05/1.252, allocations: 7.5 kB / 1.033 GB, free: 5.574 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002732/1.253, allocations: 273.1 kB / 1.033 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.253, allocations: 0 / 1.033 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003495/1.253, allocations: 67.38 kB / 1.033 GB, free: 5.312 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (equFit.uMod) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0003907/1.253, allocations: 230.5 kB / 1.033 GB, free: 5.086 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005033/1.254, allocations: 318.7 kB / 1.033 GB, free: 4.902 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.254, allocations: 0 / 1.033 GB, free: 4.902 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002668/1.254, allocations: 180.6 kB / 1.034 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/1.255, allocations: 40.89 kB / 1.034 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008713/1.255, allocations: 469.8 kB / 1.034 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/1.256, allocations: 0.7997 MB / 1.035 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003003/1.256, allocations: 65.97 kB / 1.035 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/1.256, allocations: 23.42 kB / 1.035 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/1.256, allocations: 4 kB / 1.035 GB, free: 3.465 MB / 0.6511 GB Notification: Performance of Templates: time 0.007748/1.264, allocations: 4.148 MB / 1.039 GB, free: 15.39 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches