Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002291/0.002291, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.002748/0.002748, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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.688/1.688, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.879/2.879, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.768e-05, allocations: 2.938 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004412/0.004439, allocations: 2.394 MB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002454/0.006893, allocations: 1.423 MB / 0.7901 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.007011, allocations: 4 kB / 0.7901 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.007631, allocations: 187.8 kB / 0.7903 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001503/0.007781, allocations: 77.31 kB / 0.7904 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.008159, allocations: 137.3 kB / 0.7905 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004527/0.008611, allocations: 346.5 kB / 0.7908 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.008735, allocations: 34.5 kB / 0.7908 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004253/0.00916, allocations: 191.5 kB / 0.791 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.009501, allocations: 156.9 kB / 0.7912 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.488e-05/0.009576, allocations: 32 kB / 0.7912 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.009761, allocations: 71.95 kB / 0.7913 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000182/0.009943, allocations: 119.6 kB / 0.7914 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.01013, allocations: 118.7 kB / 0.7915 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008516/0.01098, allocations: 0.5141 MB / 0.792 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.01099, allocations: 0 / 0.792 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.583e-06/0.01099, allocations: 0 / 0.792 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.011, allocations: 0 / 0.792 GB, free: 7.016 MB / 0.7448 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.001733/0.01273, allocations: 0.7633 MB / 0.7928 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.01279, allocations: 11.97 kB / 0.7928 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.01393, allocations: 167.4 kB / 0.7929 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005587/0.01449, allocations: 292 kB / 0.7932 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.01471, allocations: 195 kB / 0.7934 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.312e-05/0.01475, allocations: 12.91 kB / 0.7934 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006421/0.01539, allocations: 242.7 kB / 0.7936 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.01541, allocations: 4.125 kB / 0.7936 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.123e-05/0.01544, allocations: 4.125 kB / 0.7936 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.01544, allocations: 4 kB / 0.7936 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008668/0.01631, allocations: 290.2 kB / 0.7939 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.01803, allocations: 0.7424 MB / 0.7946 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005751/0.0186, allocations: 208.2 kB / 0.7948 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006676/0.01927, allocations: 152.9 kB / 0.795 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.01931, allocations: 8 kB / 0.795 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.01935, allocations: 34.2 kB / 0.795 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.793e-06/0.01935, allocations: 0 / 0.795 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.001489/0.02084, allocations: 486.8 kB / 0.7955 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.02089, allocations: 51.41 kB / 0.7955 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006293/0.02152, allocations: 0.4909 MB / 0.796 GB, free: 2.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.02156, allocations: 31.77 kB / 0.7961 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.02182, allocations: 255.2 kB / 0.7963 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.732e-05/0.02191, allocations: 59.48 kB / 0.7964 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.02205, allocations: 51.34 kB / 0.7964 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003595/0.02241, allocations: 0.5508 MB / 0.7969 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.02283, allocations: 128 kB / 0.7971 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.02336, allocations: 258.3 kB / 0.7973 GB, free: 1.355 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007725/0.02413, allocations: 235.6 kB / 0.7975 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02413, allocations: 1.125 kB / 0.7975 GB, free: 1.121 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001034/0.02517, allocations: 344.9 kB / 0.7979 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.02519, allocations: 5.188 kB / 0.7979 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.02519, allocations: 0 / 0.7979 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.02522, allocations: 4 kB / 0.7979 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.02567, allocations: 48.94 kB / 0.7979 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.02568, allocations: 4 kB / 0.7979 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003051/0.02598, allocations: 33.27 kB / 0.798 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/0.02602, allocations: 4 kB / 0.798 GB, free: 0.6875 MB / 0.7448 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.0002175/0.02624, allocations: 181.1 kB / 0.7981 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.02634, allocations: 48.41 kB / 0.7982 GB, free: 464 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.427e-05/0.02644, allocations: 35.45 kB / 0.7982 GB, free: 420 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.02644, allocations: 4.656 kB / 0.7982 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.02645, allocations: 0 / 0.7982 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.02645, allocations: 2.406 kB / 0.7982 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006471/0.0271, allocations: 398.1 kB / 0.7986 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.0271, allocations: 0 / 0.7986 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.02748, allocations: 51.89 kB / 0.7986 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.02748, allocations: 0 / 0.7986 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.02752, allocations: 14.92 kB / 0.7987 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.02752, allocations: 0 / 0.7987 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.02752, allocations: 0 / 0.7987 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.02863, allocations: 491.5 kB / 0.7991 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.316e-05/0.02872, allocations: 44.62 kB / 0.7992 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.984e-05/0.02878, allocations: 4 kB / 0.7992 GB, free: 15.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.02908, allocations: 21.06 kB / 0.7992 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.02919, allocations: 27.95 kB / 0.7992 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.02922, allocations: 4 kB / 0.7992 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004057/0.02963, allocations: 324.1 kB / 0.7995 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.02963, allocations: 0 / 0.7995 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003478/0.02998, allocations: 60 kB / 0.7996 GB, free: 14.95 MB / 0.7605 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.0001754/0.03015, allocations: 110.6 kB / 0.7997 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.03118, allocations: 321.7 kB / 0.8 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.03119, allocations: 0 / 0.8 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004975/0.03168, allocations: 175.5 kB / 0.8002 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.03217, allocations: 85.34 kB / 0.8003 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.03361, allocations: 0.6157 MB / 0.8009 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.03384, allocations: 183.5 kB / 0.801 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002507/0.03409, allocations: 46.28 kB / 0.8011 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.03425, allocations: 24.48 kB / 0.8011 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of SimCode: time 7.62e-07/0.03425, allocations: 0 / 0.8011 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of Templates: time 0.01112/0.04537, allocations: 4.498 MB / 0.8055 GB, free: 8.922 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.195471461047418]