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.001083/0.001083, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001079/0.00108, allocations: 179 kB / 16.27 MB, free: 6.664 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.329/1.329, allocations: 223.3 MB / 240.3 MB, free: 5.312 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.338/2.338, allocations: 390.9 MB / 0.6663 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.0004539, allocations: 8 kB / 0.816 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6997/0.7001, allocations: 142.4 MB / 0.955 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00242/0.7026, allocations: 2.075 MB / 0.9571 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.7044, allocations: 1.365 MB / 0.9584 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.7045, allocations: 2.375 kB / 0.9584 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005169/0.705, allocations: 196.7 kB / 0.9586 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.7052, allocations: 67.06 kB / 0.9586 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.7054, allocations: 92.62 kB / 0.9587 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.7057, allocations: 319.6 kB / 0.959 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.7058, allocations: 44.62 kB / 0.9591 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.706, allocations: 126.4 kB / 0.9592 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.7063, allocations: 172.6 kB / 0.9594 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.455e-05/0.7063, allocations: 19.25 kB / 0.9594 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.7065, allocations: 53.09 kB / 0.9594 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.7066, allocations: 111.2 kB / 0.9595 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.7067, allocations: 187.4 kB / 0.9597 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.7071, allocations: 473.3 kB / 0.9602 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7071, allocations: 4 kB / 0.9602 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7071, allocations: 0 / 0.9602 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7071, allocations: 0 / 0.9602 GB, free: 3.711 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.001089/0.7082, allocations: 0.6642 MB / 0.9608 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.7083, allocations: 8.906 kB / 0.9608 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000968/0.7092, allocations: 177.2 kB / 0.961 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003801/0.7096, allocations: 353.1 kB / 0.9613 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.7098, allocations: 83.53 kB / 0.9614 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.7098, allocations: 16.61 kB / 0.9614 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007867/0.7106, allocations: 324.2 kB / 0.9617 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.7106, allocations: 0 / 0.9617 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.536e-05/0.7107, allocations: 5.844 kB / 0.9618 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.7107, allocations: 3.156 kB / 0.9618 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.7119, allocations: 463.8 kB / 0.9622 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.7135, allocations: 0.8683 MB / 0.963 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007135/0.7142, allocations: 304.2 kB / 0.9633 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006463/0.7148, allocations: 235.7 kB / 0.9636 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.7149, allocations: 3.812 kB / 0.9636 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.383e-05/0.7149, allocations: 30.56 kB / 0.9636 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.694e-06/0.7149, allocations: 0 / 0.9636 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001946/0.7169, allocations: 0.7162 MB / 0.9643 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.7169, allocations: 60.44 kB / 0.9644 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.7174, allocations: 418.2 kB / 0.9647 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/0.7174, allocations: 31.3 kB / 0.9648 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.7175, allocations: 185.7 kB / 0.965 GB, free: 340 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.902e-05/0.7176, allocations: 62.25 kB / 0.965 GB, free: 284 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.7176, allocations: 22.45 kB / 0.965 GB, free: 260 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002262/0.7179, allocations: 352.2 kB / 0.9654 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006185/0.7185, allocations: 215.5 kB / 0.9656 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.7191, allocations: 245.6 kB / 0.9658 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.7203, allocations: 421.1 kB / 0.9662 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.7203, allocations: 0 / 0.9662 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00157/0.7219, allocations: 0.5035 MB / 0.9667 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.7219, allocations: 6.875 kB / 0.9667 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.722, allocations: 0 / 0.9667 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.722, allocations: 5.156 kB / 0.9667 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/0.7225, allocations: 69.39 kB / 0.9668 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.7225, allocations: 4.906 kB / 0.9668 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.7229, allocations: 60.14 kB / 0.9668 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.399e-05/0.723, allocations: 12.42 kB / 0.9669 GB, free: 15.14 MB / 0.7325 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.0002144/0.7232, allocations: 164.7 kB / 0.967 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.7233, allocations: 31.84 kB / 0.967 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.7234, allocations: 39.78 kB / 0.9671 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.7234, allocations: 2.844 kB / 0.9671 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.7234, allocations: 3.938 kB / 0.9671 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.7235, allocations: 4 kB / 0.9671 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005807/0.724, allocations: 475.4 kB / 0.9675 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7241, allocations: 0 / 0.9675 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000467/0.7245, allocations: 73.45 kB / 0.9676 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.7245, allocations: 0.9688 kB / 0.9676 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.7246, allocations: 5.031 kB / 0.9676 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.7246, allocations: 1.156 kB / 0.9676 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7246, allocations: 7.875 kB / 0.9676 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.726, allocations: 0.5977 MB / 0.9682 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.7261, allocations: 111.7 kB / 0.9683 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.7262, allocations: 9.109 kB / 0.9683 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.7266, allocations: 42.55 kB / 0.9684 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.7267, allocations: 29.31 kB / 0.9684 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/0.7268, allocations: 11.48 kB / 0.9684 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004086/0.7272, allocations: 303.9 kB / 0.9687 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7272, allocations: 0 / 0.9687 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003598/0.7276, allocations: 62 kB / 0.9688 GB, free: 13.77 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.000146/0.7277, allocations: 117.5 kB / 0.9689 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.7291, allocations: 473.1 kB / 0.9693 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7291, allocations: 1.062 kB / 0.9693 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007001/0.7298, allocations: 254.8 kB / 0.9696 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.7303, allocations: 51.34 kB / 0.9696 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.7318, allocations: 0.7887 MB / 0.9704 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003889/0.7322, allocations: 0.7937 MB / 0.9712 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003061/0.7325, allocations: 56.89 kB / 0.9712 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.7327, allocations: 34.2 kB / 0.9712 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.7327, allocations: 0 / 0.9712 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of Templates: time 0.00876/0.7414, allocations: 3.985 MB / 0.9751 GB, free: 10 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