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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001461/0.001461, allocations: 194.6 kB / 16.26 MB, free: 6.625 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.438/1.438, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.552/2.552, allocations: 390.2 MB / 0.6643 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6695/0.671, allocations: 140.3 MB / 0.9491 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003194/0.6742, allocations: 2.435 MB / 0.9515 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.6759, allocations: 1.374 MB / 0.9528 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001425/0.676, allocations: 3.062 kB / 0.9528 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005614/0.6766, allocations: 193.8 kB / 0.953 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.6768, allocations: 61.73 kB / 0.9531 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.6771, allocations: 110.9 kB / 0.9532 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.6774, allocations: 330.8 kB / 0.9535 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.6775, allocations: 41.69 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.6777, allocations: 134.8 kB / 0.9536 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.6779, allocations: 188 kB / 0.9538 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.678, allocations: 32.06 kB / 0.9539 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001318/0.6781, allocations: 64.81 kB / 0.9539 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.6782, allocations: 124.6 kB / 0.954 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.6784, allocations: 175.1 kB / 0.9542 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.6787, allocations: 499.5 kB / 0.9547 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6788, allocations: 0 / 0.9547 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6788, allocations: 0 / 0.9547 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.6788, allocations: 4.875 kB / 0.9547 GB, free: 4.918 MB / 0.7169 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.001124/0.6799, allocations: 0.7035 MB / 0.9554 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.68, allocations: 10.22 kB / 0.9554 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008721/0.6808, allocations: 146 kB / 0.9555 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.6812, allocations: 355.5 kB / 0.9559 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.11e-05/0.6813, allocations: 85.69 kB / 0.9559 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.6813, allocations: 11.41 kB / 0.956 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006887/0.682, allocations: 304.2 kB / 0.9562 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.6821, allocations: 1.938 kB / 0.9562 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.6821, allocations: 4 kB / 0.9562 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.6821, allocations: 7.812 kB / 0.9563 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.6832, allocations: 408.7 kB / 0.9566 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.6846, allocations: 0.8707 MB / 0.9575 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.6853, allocations: 267.3 kB / 0.9577 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005035/0.6858, allocations: 216.3 kB / 0.958 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.28e-05/0.6858, allocations: 6.859 kB / 0.958 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.6859, allocations: 36.06 kB / 0.958 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 2.114e-06/0.6859, allocations: 0 / 0.958 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001739/0.6876, allocations: 0.6499 MB / 0.9586 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/0.6876, allocations: 60.97 kB / 0.9587 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004571/0.6881, allocations: 422.3 kB / 0.9591 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.6882, allocations: 30.8 kB / 0.9591 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.618e-05/0.6883, allocations: 182 kB / 0.9593 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.692e-05/0.6883, allocations: 58.36 kB / 0.9594 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.6884, allocations: 35.58 kB / 0.9594 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.6885, allocations: 348.6 kB / 0.9597 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.689, allocations: 200.1 kB / 0.9599 GB, free: 1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.6895, allocations: 230.3 kB / 0.9601 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009075/0.6905, allocations: 369.5 kB / 0.9605 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.6905, allocations: 0 / 0.9605 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001063/0.6915, allocations: 466.2 kB / 0.9609 GB, free: 424 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.6916, allocations: 4.688 kB / 0.9609 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.6916, allocations: 3.984 kB / 0.9609 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.6916, allocations: 1.094 kB / 0.9609 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000461/0.6921, allocations: 71.17 kB / 0.961 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.6921, allocations: 5.219 kB / 0.961 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.6924, allocations: 38.05 kB / 0.961 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.6925, allocations: 12.05 kB / 0.9611 GB, free: 356 kB / 0.7169 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.0001487/0.6926, allocations: 157.2 kB / 0.9612 GB, free: 212 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.6927, allocations: 36.28 kB / 0.9612 GB, free: 192 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.036e-05/0.6927, allocations: 44.92 kB / 0.9613 GB, free: 156 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6928, allocations: 5.344 kB / 0.9613 GB, free: 152 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6928, allocations: 3.938 kB / 0.9613 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6928, allocations: 1.531 kB / 0.9613 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006044/0.6934, allocations: 473.7 kB / 0.9617 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6934, allocations: 1 kB / 0.9617 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.6938, allocations: 66.28 kB / 0.9618 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.6939, allocations: 1.344 kB / 0.9618 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.6939, allocations: 6.266 kB / 0.9618 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6939, allocations: 0 / 0.9618 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6939, allocations: 9.438 kB / 0.9618 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.6952, allocations: 0.5558 MB / 0.9624 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.941e-05/0.6953, allocations: 116.7 kB / 0.9625 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/0.6954, allocations: 4.969 kB / 0.9625 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003564/0.6957, allocations: 33.11 kB / 0.9625 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.6958, allocations: 32.89 kB / 0.9625 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.6959, allocations: 4.156 kB / 0.9625 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003239/0.6962, allocations: 311.6 kB / 0.9628 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6962, allocations: 0 / 0.9628 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003415/0.6966, allocations: 66.31 kB / 0.9629 GB, free: 14.97 MB / 0.7325 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.0001562/0.6967, allocations: 101.1 kB / 0.963 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00124/0.698, allocations: 448 kB / 0.9634 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.698, allocations: 0 / 0.9634 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00058/0.6986, allocations: 232.3 kB / 0.9637 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.699, allocations: 52.25 kB / 0.9637 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.7004, allocations: 0.7549 MB / 0.9644 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.7008, allocations: 0.8017 MB / 0.9652 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003183/0.7011, allocations: 60.73 kB / 0.9653 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.7013, allocations: 26.73 kB / 0.9653 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.7013, allocations: 0 / 0.9653 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of Templates: time 0.008428/0.7097, allocations: 4.227 MB / 0.9694 GB, free: 11.11 MB / 0.7325 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches