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.002317/0.002317, allocations: 85.48 kB / 19.44 MB, free: 344 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.002684/0.002684, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.576/1.576, allocations: 177.1 MB / 203.1 MB, free: 5.602 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.421/3.421, allocations: 429.5 MB / 0.6729 GB, free: 4.008 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.614e-06/2.614e-06, allocations: 0 / 0.8774 GB, free: 6.504 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.744e-05, allocations: 4.984 kB / 0.8774 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004444/0.004482, allocations: 2.392 MB / 0.8798 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002817/0.007299, allocations: 1.43 MB / 0.8812 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.007469, allocations: 3.938 kB / 0.8812 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007015/0.00817, allocations: 181.2 kB / 0.8813 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.008339, allocations: 76.12 kB / 0.8814 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004373/0.008777, allocations: 152.2 kB / 0.8816 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.0093, allocations: 342.6 kB / 0.8819 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.009425, allocations: 32.91 kB / 0.8819 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003723/0.009797, allocations: 187.6 kB / 0.8821 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003155/0.01011, allocations: 151.6 kB / 0.8822 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.457e-05/0.01019, allocations: 35.98 kB / 0.8823 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001733/0.01036, allocations: 79.83 kB / 0.8824 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.01052, allocations: 119.6 kB / 0.8825 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.01068, allocations: 123.7 kB / 0.8826 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007144/0.0114, allocations: 0.5102 MB / 0.8831 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.0114, allocations: 0 / 0.8831 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.0114, allocations: 0 / 0.8831 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.01141, allocations: 0 / 0.8831 GB, free: 0.7305 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.001789/0.0132, allocations: 0.7711 MB / 0.8838 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.01324, allocations: 8.031 kB / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.01433, allocations: 164.5 kB / 0.884 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.01487, allocations: 286.8 kB / 0.8843 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.01512, allocations: 195 kB / 0.8845 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.01516, allocations: 8.375 kB / 0.8845 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006523/0.01581, allocations: 241 kB / 0.8847 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.01582, allocations: 4.188 kB / 0.8847 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.01585, allocations: 384 / 0.8847 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.01586, allocations: 7.938 kB / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009156/0.01678, allocations: 292.5 kB / 0.885 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.01855, allocations: 0.7461 MB / 0.8857 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005781/0.01913, allocations: 210.9 kB / 0.8859 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004193/0.01955, allocations: 150.1 kB / 0.8861 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.01959, allocations: 8 kB / 0.8861 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.01963, allocations: 33.39 kB / 0.8861 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.903e-06/0.01963, allocations: 0 / 0.8861 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.001489/0.02112, allocations: 481.4 kB / 0.8866 GB, free: 13 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.02118, allocations: 55.41 kB / 0.8866 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006249/0.0218, allocations: 494.7 kB / 0.8871 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.314e-05/0.02184, allocations: 33.7 kB / 0.8871 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/0.02209, allocations: 255.2 kB / 0.8874 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.411e-05/0.02219, allocations: 67.42 kB / 0.8874 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.02232, allocations: 47.36 kB / 0.8875 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003696/0.02269, allocations: 0.5508 MB / 0.888 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004219/0.02311, allocations: 127.9 kB / 0.8881 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/0.02364, allocations: 259.7 kB / 0.8884 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007837/0.02442, allocations: 245.6 kB / 0.8886 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.02442, allocations: 0 / 0.8886 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001015/0.02544, allocations: 339.4 kB / 0.8889 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.02546, allocations: 4 kB / 0.8889 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.02546, allocations: 0 / 0.8889 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.02548, allocations: 7.984 kB / 0.889 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/0.02593, allocations: 51.89 kB / 0.889 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.02594, allocations: 0 / 0.889 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.02623, allocations: 31.92 kB / 0.889 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.02626, allocations: 4 kB / 0.889 GB, free: 10.37 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.0002224/0.02648, allocations: 180.5 kB / 0.8892 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.02659, allocations: 43.77 kB / 0.8892 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.295e-05/0.02668, allocations: 35.45 kB / 0.8893 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.02668, allocations: 8 kB / 0.8893 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.02669, allocations: 0 / 0.8893 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.02669, allocations: 0 / 0.8893 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/0.02732, allocations: 390.2 kB / 0.8897 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.02732, allocations: 0 / 0.8897 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003962/0.02772, allocations: 51.89 kB / 0.8897 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.02772, allocations: 0 / 0.8897 GB, free: 9.629 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.02776, allocations: 7.984 kB / 0.8897 GB, free: 9.621 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.02776, allocations: 4 kB / 0.8897 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02776, allocations: 0 / 0.8897 GB, free: 9.617 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.02886, allocations: 499.4 kB / 0.8902 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.491e-05/0.02894, allocations: 39.75 kB / 0.8902 GB, free: 9.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.029, allocations: 7.938 kB / 0.8902 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.02929, allocations: 19.97 kB / 0.8903 GB, free: 9.043 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.02941, allocations: 31.89 kB / 0.8903 GB, free: 9.012 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.02944, allocations: 8 kB / 0.8903 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006243/0.03006, allocations: 319.1 kB / 0.8906 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.03006, allocations: 0 / 0.8906 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003434/0.03041, allocations: 67.94 kB / 0.8907 GB, free: 8.625 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.0001541/0.03056, allocations: 99.25 kB / 0.8908 GB, free: 8.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001/0.03156, allocations: 322.2 kB / 0.8911 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.03157, allocations: 4 kB / 0.8911 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005085/0.03207, allocations: 171.5 kB / 0.8912 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.03253, allocations: 72.28 kB / 0.8913 GB, free: 7.961 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.03397, allocations: 0.608 MB / 0.8919 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.0342, allocations: 199.5 kB / 0.8921 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002561/0.03446, allocations: 46.25 kB / 0.8921 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001809/0.03464, allocations: 24.5 kB / 0.8922 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.03464, allocations: 0 / 0.8922 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of Templates: time 0.01095/0.04559, allocations: 4.505 MB / 0.8966 GB, free: 2.602 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 240] 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.710055354051292]