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.001548/0.001548, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001719/0.001719, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.537/1.537, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.809/2.809, allocations: 359 MB / 0.6048 GB, free: 10.95 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.675e-06/2.675e-06, allocations: 0 / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.954e-05/4.221e-05, allocations: 5.609 kB / 0.7864 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004569/0.004611, allocations: 2.315 MB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002679/0.00729, allocations: 1.339 MB / 0.7899 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001307/0.00742, allocations: 3.938 kB / 0.7899 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0006363/0.008057, allocations: 182.8 kB / 0.7901 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.008224, allocations: 84.69 kB / 0.7902 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.008624, allocations: 133.1 kB / 0.7903 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005083/0.009132, allocations: 343.4 kB / 0.7906 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.009259, allocations: 32.91 kB / 0.7907 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003903/0.009649, allocations: 201 kB / 0.7909 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.009978, allocations: 159.6 kB / 0.791 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.958e-05/0.01005, allocations: 33.12 kB / 0.7911 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.01021, allocations: 67.97 kB / 0.7911 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.01039, allocations: 119.7 kB / 0.7912 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.01054, allocations: 116.2 kB / 0.7913 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007527/0.0113, allocations: 0.5102 MB / 0.7918 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.0113, allocations: 2.562 kB / 0.7918 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.282e-06/0.0113, allocations: 0 / 0.7918 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.01131, allocations: 3.938 kB / 0.7918 GB, free: 7.215 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.001558/0.01287, allocations: 0.6399 MB / 0.7925 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.01291, allocations: 8.625 kB / 0.7925 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001306/0.01422, allocations: 208.1 kB / 0.7927 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/0.01478, allocations: 305.8 kB / 0.793 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/0.01501, allocations: 191 kB / 0.7932 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.876e-05/0.01506, allocations: 16.31 kB / 0.7932 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.01616, allocations: 293 kB / 0.7934 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.01617, allocations: 4.188 kB / 0.7935 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.01621, allocations: 4.719 kB / 0.7935 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.01622, allocations: 4.938 kB / 0.7935 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.01745, allocations: 414.8 kB / 0.7939 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001798/0.01925, allocations: 0.7251 MB / 0.7946 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007493/0.02, allocations: 252 kB / 0.7948 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00061/0.02061, allocations: 210.9 kB / 0.795 GB, free: 3.863 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.116e-05/0.02065, allocations: 4 kB / 0.795 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.02069, allocations: 38.5 kB / 0.795 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.763e-06/0.02069, allocations: 0.5 kB / 0.795 GB, free: 3.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.002098/0.02279, allocations: 0.6599 MB / 0.7957 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.02286, allocations: 55.41 kB / 0.7957 GB, free: 3.086 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006019/0.02346, allocations: 425 kB / 0.7962 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.02351, allocations: 29.7 kB / 0.7962 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.02372, allocations: 180.5 kB / 0.7964 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.413e-05/0.02381, allocations: 59.48 kB / 0.7964 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.02394, allocations: 41.7 kB / 0.7964 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002419/0.02418, allocations: 346.7 kB / 0.7968 GB, free: 2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005799/0.02476, allocations: 197.4 kB / 0.797 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/0.02545, allocations: 305.4 kB / 0.7973 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.02653, allocations: 373.9 kB / 0.7976 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02654, allocations: 0 / 0.7976 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001331/0.02787, allocations: 472 kB / 0.7981 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.02789, allocations: 4 kB / 0.7981 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.02789, allocations: 0 / 0.7981 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.02792, allocations: 1.094 kB / 0.7981 GB, free: 0.6484 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/0.02843, allocations: 67.86 kB / 0.7981 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.02844, allocations: 4 kB / 0.7981 GB, free: 0.5781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.02879, allocations: 39.91 kB / 0.7982 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.02883, allocations: 8 kB / 0.7982 GB, free: 0.5312 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.0002312/0.02906, allocations: 165.8 kB / 0.7983 GB, free: 368 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.02917, allocations: 43.77 kB / 0.7984 GB, free: 324 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.991e-05/0.02926, allocations: 43.44 kB / 0.7984 GB, free: 272 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.02927, allocations: 0 / 0.7984 GB, free: 272 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.02927, allocations: 8 kB / 0.7984 GB, free: 264 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.02928, allocations: 0 / 0.7984 GB, free: 264 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006071/0.02988, allocations: 358.7 kB / 0.7988 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.02989, allocations: 0 / 0.7988 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000455/0.03034, allocations: 63.86 kB / 0.7988 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.03034, allocations: 0 / 0.7988 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.262e-05/0.03038, allocations: 4 kB / 0.7988 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.03038, allocations: 7.984 kB / 0.7988 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.03038, allocations: 0 / 0.7988 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.0318, allocations: 0.5561 MB / 0.7994 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.496e-05/0.03188, allocations: 39.7 kB / 0.7994 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.03194, allocations: 11.92 kB / 0.7994 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.03231, allocations: 35.95 kB / 0.7995 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.03243, allocations: 27.95 kB / 0.7995 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.03246, allocations: 4 kB / 0.7995 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004263/0.03289, allocations: 303.1 kB / 0.7998 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.03289, allocations: 0 / 0.7998 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003676/0.03325, allocations: 64 kB / 0.7999 GB, free: 14.76 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.0001936/0.03345, allocations: 99.25 kB / 0.7999 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001648/0.0351, allocations: 427.5 kB / 0.8004 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.0351, allocations: 0 / 0.8004 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.03573, allocations: 222.1 kB / 0.8006 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.03623, allocations: 73.39 kB / 0.8006 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.0378, allocations: 0.6874 MB / 0.8013 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.03803, allocations: 183.5 kB / 0.8015 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002924/0.03833, allocations: 58.31 kB / 0.8015 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.0385, allocations: 32.48 kB / 0.8016 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of SimCode: time 6.81e-07/0.0385, allocations: 0 / 0.8016 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of Templates: time 0.01036/0.04886, allocations: 4.485 MB / 0.806 GB, free: 8.543 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 400] 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.370700394967571]