Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001888/0.001888, allocations: 192.2 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.806/2.806, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 63.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.664/0.666, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00403/0.6701, allocations: 2.432 MB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002214/0.6723, allocations: 1.379 MB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.6724, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006241/0.6731, allocations: 199 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.6732, allocations: 63.48 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003283/0.6736, allocations: 103.8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.674, allocations: 334.7 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.6741, allocations: 52.72 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.6744, allocations: 127.5 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.6746, allocations: 187.4 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.377e-05/0.6747, allocations: 32 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.6749, allocations: 75.95 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.675, allocations: 115.6 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.6752, allocations: 183 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005676/0.6758, allocations: 496.4 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.6758, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6758, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.6758, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 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.001385/0.6772, allocations: 0.7004 MB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.6773, allocations: 12.03 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009066/0.6782, allocations: 144.3 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.6787, allocations: 350.2 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.6788, allocations: 88.12 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.483e-05/0.6789, allocations: 8.375 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007934/0.6797, allocations: 304.6 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.6797, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.6797, allocations: 8 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.6797, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.6809, allocations: 420.4 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.6826, allocations: 0.8512 MB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000696/0.6834, allocations: 282.3 kB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.6839, allocations: 212.7 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.48e-05/0.684, allocations: 3.984 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.684, allocations: 46.5 kB / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.684, allocations: 0 / 1.026 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001864/0.6859, allocations: 0.6432 MB / 1.026 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.686, allocations: 59.33 kB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/0.6865, allocations: 421.7 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.6865, allocations: 25.7 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.6867, allocations: 184 kB / 1.027 GB, free: 8.051 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.888e-05/0.6868, allocations: 59.11 kB / 1.027 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.6869, allocations: 45.69 kB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.6871, allocations: 350.8 kB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/0.6877, allocations: 191.9 kB / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005791/0.6883, allocations: 232.6 kB / 1.028 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.6893, allocations: 366.6 kB / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.6893, allocations: 7.938 kB / 1.028 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001272/0.6906, allocations: 464.8 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.6906, allocations: 9.5 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.6907, allocations: 0 / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.6907, allocations: 8 kB / 1.029 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/0.6912, allocations: 59.86 kB / 1.029 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.6912, allocations: 7.938 kB / 1.029 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.6916, allocations: 39.8 kB / 1.029 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.529e-05/0.6917, allocations: 7.984 kB / 1.029 GB, free: 6.207 MB / 0.7794 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003189/0.692, allocations: 165.8 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/0.6921, allocations: 35.62 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.889e-05/0.6922, allocations: 39.59 kB / 1.029 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.6922, allocations: 4 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.6922, allocations: 3.938 kB / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.6922, allocations: 0 / 1.029 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007216/0.693, allocations: 470.9 kB / 1.029 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.693, allocations: 48 / 1.029 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.6934, allocations: 67.84 kB / 1.03 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.6935, allocations: 4 kB / 1.03 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.6935, allocations: 8 kB / 1.03 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6935, allocations: 0 / 1.03 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.6935, allocations: 3.938 kB / 1.03 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.6949, allocations: 0.5534 MB / 1.03 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.6951, allocations: 116.6 kB / 1.03 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.6951, allocations: 4 kB / 1.03 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003554/0.6955, allocations: 35.94 kB / 1.03 GB, free: 4.617 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.6956, allocations: 27.84 kB / 1.03 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.897e-05/0.6957, allocations: 8 kB / 1.03 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004257/0.6961, allocations: 311.1 kB / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6961, allocations: 0 / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003635/0.6965, allocations: 64 kB / 1.031 GB, free: 4.215 MB / 0.7794 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002323/0.6967, allocations: 103.7 kB / 1.031 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001344/0.6981, allocations: 456.6 kB / 1.031 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.6981, allocations: 0 / 1.031 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.6987, allocations: 229.6 kB / 1.031 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.6992, allocations: 49.48 kB / 1.031 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001605/0.7008, allocations: 0.767 MB / 1.032 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005162/0.7013, allocations: 0.7909 MB / 1.033 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003011/0.7017, allocations: 58.27 kB / 1.033 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.7018, allocations: 27.42 kB / 1.033 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of SimCode: time 6.51e-07/0.7018, allocations: 0 / 1.033 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of Templates: time 0.009221/0.7111, allocations: 4.239 MB / 1.037 GB, free: 13.5 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches