Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.105/2.105, allocations: 387.4 MB / 394.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 180.8 kB / 487.4 MB, free: 5.051 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 221.5 MB / 0.7824 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009905/0.0009906, allocations: 91.92 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.559e-05/1.561e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2554, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.83/1.085, allocations: 153 MB / 1.355 GB, free: 18.43 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/1.086, allocations: 86.92 kB / 1.355 GB, free: 18.42 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01884/1.105, allocations: 7.934 MB / 1.363 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.272e-06/1.105, allocations: 0 / 1.363 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.099e-05/1.105, allocations: 7.875 kB / 1.363 GB, free: 33.51 MB / 0.8386 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.000808/1.105, allocations: 0.608 MB / 1.364 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/1.105, allocations: 11.53 kB / 1.364 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006697/1.106, allocations: 149.8 kB / 1.364 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/1.107, allocations: 342.9 kB / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.278e-05/1.107, allocations: 76.86 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/1.107, allocations: 7.688 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004458/1.107, allocations: 316.3 kB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/1.107, allocations: 229.2 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/1.107, allocations: 0 / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/1.107, allocations: 0 / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/1.107, allocations: 3.875 kB / 1.365 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/1.109, allocations: 0.827 MB / 1.366 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/1.109, allocations: 216.1 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/1.109, allocations: 159.4 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/1.109, allocations: 7.672 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/1.109, allocations: 36.45 kB / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/1.109, allocations: 0 / 1.366 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0005018/1.11, allocations: 342 kB / 1.366 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.643e-05/1.11, allocations: 59.22 kB / 1.366 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/1.11, allocations: 346 kB / 1.367 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/1.11, allocations: 25.7 kB / 1.367 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/1.11, allocations: 185.8 kB / 1.367 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/1.11, allocations: 55.42 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/1.11, allocations: 0 / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001193/1.11, allocations: 347 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/1.111, allocations: 138.3 kB / 1.368 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001852/1.111, allocations: 173.4 kB / 1.368 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/1.111, allocations: 128.5 kB / 1.368 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.111, allocations: 3.938 kB / 1.368 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004297/1.111, allocations: 356 kB / 1.368 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.111, allocations: 7.906 kB / 1.368 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.111, allocations: 0 / 1.368 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/1.111, allocations: 0 / 1.368 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/1.112, allocations: 78.25 kB / 1.368 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/1.112, allocations: 0 / 1.368 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/1.112, allocations: 43.45 kB / 1.368 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/1.112, allocations: 6.25 kB / 1.368 GB, free: 31.51 MB / 0.8386 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.0001008/1.112, allocations: 112.9 kB / 1.368 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/1.112, allocations: 41.89 kB / 1.368 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/1.112, allocations: 37.08 kB / 1.368 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.112, allocations: 3.875 kB / 1.368 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.112, allocations: 2.484 kB / 1.368 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.113, allocations: 0 / 1.368 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/1.113, allocations: 438.8 kB / 1.369 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.113, allocations: 6.547 kB / 1.369 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/1.113, allocations: 72.38 kB / 1.369 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/1.113, allocations: 11.61 kB / 1.369 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/1.113, allocations: 2.812 kB / 1.369 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/1.113, allocations: 0 / 1.369 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.113, allocations: 0 / 1.369 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004604/1.114, allocations: 450.5 kB / 1.369 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/1.114, allocations: 122.9 kB / 1.37 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/1.114, allocations: 7.828 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/1.114, allocations: 41.69 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/1.114, allocations: 27.62 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/1.114, allocations: 3.875 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002354/1.115, allocations: 280.2 kB / 1.37 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.115, allocations: 0 / 1.37 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003428/1.115, allocations: 65.81 kB / 1.37 GB, free: 30.79 MB / 0.8386 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.0002624/1.115, allocations: 207.2 kB / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004231/1.116, allocations: 325.8 kB / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.116, allocations: 0 / 1.37 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/1.116, allocations: 173 kB / 1.371 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/1.116, allocations: 43.52 kB / 1.371 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006983/1.117, allocations: 451.9 kB / 1.371 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/1.117, allocations: 0.8027 MB / 1.372 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002678/1.118, allocations: 56.62 kB / 1.372 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/1.118, allocations: 31.88 kB / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of SimCode: time 1.093e-06/1.118, allocations: 0 / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of Templates: time 0.006427/1.124, allocations: 3.996 MB / 1.376 GB, free: 29.48 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","../files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches