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.001537/0.001537, allocations: 108.7 kB / 16.41 MB, free: 6.414 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.001648/0.001648, allocations: 185.7 kB / 17.34 MB, free: 5.695 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.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.427/2.427, allocations: 437 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.966/0.9673, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003546/0.9709, allocations: 2.384 MB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001975/0.9729, allocations: 1.399 MB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.9731, allocations: 4 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.9737, allocations: 202.9 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.9739, allocations: 79.34 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003319/0.9742, allocations: 119.7 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003457/0.9746, allocations: 326.8 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.9747, allocations: 52.7 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001896/0.9749, allocations: 127.5 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.9752, allocations: 187.4 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.907e-05/0.9752, allocations: 32 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.9754, allocations: 63.97 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.9755, allocations: 127.6 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.9756, allocations: 171.1 kB / 1.172 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.9761, allocations: 0.4884 MB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.9761, allocations: 0 / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.874e-06/0.9761, allocations: 0 / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.9761, allocations: 0 / 1.173 GB, free: 14.05 MB / 0.9044 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.001286/0.9774, allocations: 0.7043 MB / 1.174 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.9775, allocations: 8.031 kB / 1.174 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008122/0.9783, allocations: 144.3 kB / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.9788, allocations: 366.1 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.9789, allocations: 80.19 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/0.9789, allocations: 12.38 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006824/0.9796, allocations: 299.4 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.9796, allocations: 3.984 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.9797, allocations: 4 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.9797, allocations: 4 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.9807, allocations: 420.3 kB / 1.175 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.9823, allocations: 0.8508 MB / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/0.9829, allocations: 278.3 kB / 1.176 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/0.9834, allocations: 224.7 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.244e-05/0.9835, allocations: 0 / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.9835, allocations: 34.56 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 2.805e-06/0.9835, allocations: 4 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.001656/0.9852, allocations: 0.6493 MB / 1.177 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.9852, allocations: 59.34 kB / 1.177 GB, free: 9.75 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004434/0.9857, allocations: 425.6 kB / 1.177 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.9857, allocations: 29.7 kB / 1.177 GB, free: 9.289 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.9858, allocations: 180.1 kB / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/0.9859, allocations: 63.08 kB / 1.178 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.986, allocations: 37.7 kB / 1.178 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.9862, allocations: 354.7 kB / 1.178 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004817/0.9867, allocations: 199.8 kB / 1.178 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005068/0.9872, allocations: 225.9 kB / 1.178 GB, free: 8.223 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008962/0.9881, allocations: 368.5 kB / 1.179 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9881, allocations: 0 / 1.179 GB, free: 7.859 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001084/0.9892, allocations: 467.3 kB / 1.179 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.9892, allocations: 4 kB / 1.179 GB, free: 7.395 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.9892, allocations: 7.969 kB / 1.179 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.9893, allocations: 4 kB / 1.179 GB, free: 7.383 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.9897, allocations: 55.94 kB / 1.179 GB, free: 7.328 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.9897, allocations: 7.938 kB / 1.179 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.9901, allocations: 43.78 kB / 1.179 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.9901, allocations: 4 kB / 1.179 GB, free: 7.273 MB / 0.9044 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.0001879/0.9903, allocations: 169.8 kB / 1.179 GB, free: 7.098 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.526e-05/0.9904, allocations: 35.53 kB / 1.179 GB, free: 7.062 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.9904, allocations: 43.59 kB / 1.179 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.9904, allocations: 4 kB / 1.18 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.9905, allocations: 3.938 kB / 1.18 GB, free: 7.016 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.9905, allocations: 3.984 kB / 1.18 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000506/0.991, allocations: 474.8 kB / 1.18 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.991, allocations: 0 / 1.18 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/0.9914, allocations: 63.92 kB / 1.18 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.9914, allocations: 0 / 1.18 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.9914, allocations: 15.92 kB / 1.18 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.9914, allocations: 0 / 1.18 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9914, allocations: 3.938 kB / 1.18 GB, free: 6.418 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.9926, allocations: 0.5496 MB / 1.181 GB, free: 5.852 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.876e-05/0.9927, allocations: 112.6 kB / 1.181 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.9927, allocations: 8 kB / 1.181 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003187/0.993, allocations: 27.95 kB / 1.181 GB, free: 5.688 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.9932, allocations: 27.91 kB / 1.181 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.34e-05/0.9932, allocations: 7.984 kB / 1.181 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003083/0.9935, allocations: 303.1 kB / 1.181 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9935, allocations: 4 kB / 1.181 GB, free: 5.359 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003262/0.9939, allocations: 68 kB / 1.181 GB, free: 5.293 MB / 0.9044 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.0001487/0.994, allocations: 107.1 kB / 1.181 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.9951, allocations: 441.6 kB / 1.182 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9951, allocations: 3.938 kB / 1.182 GB, free: 4.742 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0005193/0.9956, allocations: 223.8 kB / 1.182 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.9961, allocations: 57.98 kB / 1.182 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.9974, allocations: 0.6945 MB / 1.183 GB, free: 3.734 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.9978, allocations: 0.7948 MB / 1.183 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.998, allocations: 31.42 kB / 1.183 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of SimCode: time 6.21e-07/0.998, allocations: 0 / 1.183 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of Templates: time 0.007005/1.005, allocations: 4.975 MB / 1.188 GB, free: 13.94 MB / 0.92 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=480 -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/jenkins1/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