Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0024/0.0024, allocations: 157.6 kB / 22.75 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 177.1 MB / 203.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.23/3.23, allocations: 429.6 MB / 0.673 GB, free: 3.875 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.986e-06/2.986e-06, allocations: 0.9844 kB / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.505e-05/3.803e-05, allocations: 3.25 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00466/0.004698, allocations: 2.312 MB / 0.8798 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00286/0.007558, allocations: 1.345 MB / 0.8812 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002424/0.007801, allocations: 5.125 kB / 0.8812 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007872/0.008588, allocations: 187.9 kB / 0.8813 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.00887, allocations: 76.75 kB / 0.8814 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.009418, allocations: 137.5 kB / 0.8815 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006412/0.01006, allocations: 346.5 kB / 0.8819 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.01022, allocations: 30.27 kB / 0.8819 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005669/0.01078, allocations: 199.5 kB / 0.8821 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003754/0.01116, allocations: 152.7 kB / 0.8822 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.173e-05/0.01124, allocations: 32 kB / 0.8823 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002198/0.01146, allocations: 71.95 kB / 0.8823 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.01164, allocations: 124.3 kB / 0.8825 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.01182, allocations: 113.3 kB / 0.8826 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008409/0.01266, allocations: 0.5179 MB / 0.8831 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.01267, allocations: 0 / 0.8831 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.333e-06/0.01267, allocations: 0 / 0.8831 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.573e-05/0.01268, allocations: 0 / 0.8831 GB, free: 0.8789 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.001856/0.01454, allocations: 0.6456 MB / 0.8837 GB, free: 212 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.01458, allocations: 8.031 kB / 0.8837 GB, free: 204 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.01591, allocations: 203.2 kB / 0.8839 GB, free: 4 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006377/0.01655, allocations: 307.9 kB / 0.8842 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/0.01678, allocations: 195 kB / 0.8844 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.657e-05/0.01682, allocations: 16.38 kB / 0.8844 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008597/0.01768, allocations: 289 kB / 0.8847 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.01769, allocations: 4.125 kB / 0.8847 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.642e-05/0.01773, allocations: 12.12 kB / 0.8847 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.01774, allocations: 4 kB / 0.8847 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.01898, allocations: 416.4 kB / 0.8851 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.02091, allocations: 0.7155 MB / 0.8858 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009379/0.02184, allocations: 262.3 kB / 0.886 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000618/0.02246, allocations: 207 kB / 0.8862 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.64e-05/0.02251, allocations: 8 kB / 0.8862 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/0.02255, allocations: 34.56 kB / 0.8863 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.074e-06/0.02255, allocations: 0 / 0.8863 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.002101/0.02465, allocations: 0.6535 MB / 0.8869 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.02471, allocations: 55.41 kB / 0.887 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005963/0.0253, allocations: 417.6 kB / 0.8874 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.02535, allocations: 25.7 kB / 0.8874 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001933/0.02554, allocations: 188.5 kB / 0.8876 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.058e-05/0.02563, allocations: 59.44 kB / 0.8876 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.02577, allocations: 41.7 kB / 0.8877 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002319/0.026, allocations: 354.7 kB / 0.888 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006155/0.02662, allocations: 195.8 kB / 0.8882 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006904/0.02731, allocations: 306.4 kB / 0.8885 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.02845, allocations: 368.6 kB / 0.8888 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.02845, allocations: 0 / 0.8888 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001405/0.02986, allocations: 479.5 kB / 0.8893 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.02988, allocations: 4 kB / 0.8893 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.02989, allocations: 0 / 0.8893 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.02991, allocations: 4 kB / 0.8893 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000519/0.03043, allocations: 55.92 kB / 0.8894 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.03044, allocations: 8 kB / 0.8894 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003707/0.03081, allocations: 31.95 kB / 0.8894 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.03085, allocations: 8 kB / 0.8894 GB, free: 10.17 MB / 0.8542 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.0002512/0.0311, allocations: 173.7 kB / 0.8896 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.03122, allocations: 43.72 kB / 0.8896 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.18e-05/0.03132, allocations: 47.38 kB / 0.8897 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.03132, allocations: 4 kB / 0.8897 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.03133, allocations: 0 / 0.8897 GB, free: 9.895 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.03133, allocations: 4 kB / 0.8897 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005782/0.03191, allocations: 339 kB / 0.89 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.03192, allocations: 0 / 0.89 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/0.03238, allocations: 67.86 kB / 0.89 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.03239, allocations: 0 / 0.89 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.03242, allocations: 4 kB / 0.8901 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.03243, allocations: 0 / 0.8901 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.03243, allocations: 3.984 kB / 0.8901 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.03387, allocations: 0.5653 MB / 0.8906 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.036e-05/0.03396, allocations: 43.66 kB / 0.8906 GB, free: 8.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.256e-05/0.03403, allocations: 7.984 kB / 0.8907 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.03441, allocations: 35.95 kB / 0.8907 GB, free: 8.785 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.03453, allocations: 23.95 kB / 0.8907 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.03456, allocations: 8 kB / 0.8907 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004218/0.03498, allocations: 299.1 kB / 0.891 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.1e-08/0.03498, allocations: 0 / 0.891 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005014/0.03548, allocations: 67.98 kB / 0.8911 GB, free: 8.398 MB / 0.8542 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.000164/0.03565, allocations: 99.19 kB / 0.8912 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001341/0.03699, allocations: 430 kB / 0.8916 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.03699, allocations: 0 / 0.8916 GB, free: 7.875 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000649/0.03764, allocations: 215.8 kB / 0.8918 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005193/0.03816, allocations: 77.34 kB / 0.8919 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.03982, allocations: 0.6805 MB / 0.8925 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.04007, allocations: 191.4 kB / 0.8927 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004379/0.04051, allocations: 54.28 kB / 0.8928 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.04069, allocations: 28.48 kB / 0.8928 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of SimCode: time 1.984e-06/0.04069, allocations: 0 / 0.8928 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.01091/0.05161, allocations: 4.493 MB / 0.8972 GB, free: 2.168 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.543579418910667]