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.001838/0.001838, allocations: 79.73 kB / 19.76 MB, free: 2.016 MB / 14.72 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.002276/0.002276, allocations: 157.8 kB / 23.01 MB, free: 4.953 MB / 14.72 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.457/1.457, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.716/2.716, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002157/0.002157, allocations: 66.08 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.312, allocations: 169.9 MB / 1.117 GB, free: 2.539 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003648/0.3157, allocations: 2.298 MB / 1.12 GB, free: 232 kB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002155/0.3178, allocations: 1.339 MB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.3179, allocations: 4 kB / 1.121 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005395/0.3185, allocations: 175 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.3186, allocations: 79.28 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.319, allocations: 139.7 kB / 1.121 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003972/0.3194, allocations: 330.7 kB / 1.122 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3195, allocations: 32.92 kB / 1.122 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.3197, allocations: 143.5 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.32, allocations: 179.2 kB / 1.122 GB, free: 13.82 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.078e-05/0.32, allocations: 32 kB / 1.122 GB, free: 13.79 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.3202, allocations: 67.97 kB / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001364/0.3203, allocations: 119.7 kB / 1.122 GB, free: 13.6 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.3205, allocations: 143.2 kB / 1.122 GB, free: 13.46 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005741/0.3211, allocations: 0.4942 MB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3211, allocations: 0 / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3211, allocations: 0 / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3211, allocations: 0 / 1.123 GB, free: 12.96 MB / 1.076 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.001268/0.3223, allocations: 0.6561 MB / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.3224, allocations: 8.031 kB / 1.124 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001183/0.3235, allocations: 180.4 kB / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.324, allocations: 304.7 kB / 1.124 GB, free: 11.77 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.3242, allocations: 199 kB / 1.124 GB, free: 11.54 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.3242, allocations: 12.38 kB / 1.124 GB, free: 11.53 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007984/0.325, allocations: 299.3 kB / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.325, allocations: 4 kB / 1.124 GB, free: 11.23 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.3251, allocations: 4 kB / 1.124 GB, free: 11.22 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3251, allocations: 4 kB / 1.124 GB, free: 11.22 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.3263, allocations: 412.4 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.3279, allocations: 0.73 MB / 1.126 GB, free: 10.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007046/0.3286, allocations: 258.4 kB / 1.126 GB, free: 9.793 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000606/0.3292, allocations: 212.7 kB / 1.126 GB, free: 9.582 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.3292, allocations: 4 kB / 1.126 GB, free: 9.578 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3292, allocations: 34.56 kB / 1.126 GB, free: 9.535 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 1.442e-06/0.3292, allocations: 0 / 1.126 GB, free: 9.535 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.001907/0.3311, allocations: 0.6487 MB / 1.127 GB, free: 8.883 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3312, allocations: 55.41 kB / 1.127 GB, free: 8.816 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.3317, allocations: 421.6 kB / 1.127 GB, free: 8.398 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.3317, allocations: 29.7 kB / 1.127 GB, free: 8.363 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.3319, allocations: 180.5 kB / 1.127 GB, free: 8.184 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.064e-05/0.3319, allocations: 67.41 kB / 1.127 GB, free: 8.117 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.332, allocations: 41.7 kB / 1.127 GB, free: 8.07 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.3322, allocations: 346.8 kB / 1.128 GB, free: 7.723 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006014/0.3328, allocations: 195.8 kB / 1.128 GB, free: 7.531 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000653/0.3335, allocations: 304.4 kB / 1.128 GB, free: 7.203 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.3345, allocations: 372.5 kB / 1.129 GB, free: 6.836 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3346, allocations: 0 / 1.129 GB, free: 6.836 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001266/0.3358, allocations: 467.5 kB / 1.129 GB, free: 6.375 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3358, allocations: 8 kB / 1.129 GB, free: 6.367 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3358, allocations: 0 / 1.129 GB, free: 6.367 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3359, allocations: 0 / 1.129 GB, free: 6.367 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.3363, allocations: 59.92 kB / 1.129 GB, free: 6.309 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3363, allocations: 4 kB / 1.129 GB, free: 6.305 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.3367, allocations: 51.72 kB / 1.129 GB, free: 6.254 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.3367, allocations: 7.938 kB / 1.129 GB, free: 6.246 MB / 1.076 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.0001942/0.3369, allocations: 161.8 kB / 1.129 GB, free: 6.078 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.859e-05/0.337, allocations: 39.77 kB / 1.129 GB, free: 6.039 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.3371, allocations: 43.44 kB / 1.129 GB, free: 5.996 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3371, allocations: 0 / 1.129 GB, free: 5.996 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3371, allocations: 0 / 1.129 GB, free: 5.996 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3371, allocations: 7.938 kB / 1.129 GB, free: 5.988 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.3376, allocations: 350.9 kB / 1.13 GB, free: 5.613 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3376, allocations: 0 / 1.13 GB, free: 5.613 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/0.338, allocations: 63.86 kB / 1.13 GB, free: 5.551 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.338, allocations: 0 / 1.13 GB, free: 5.551 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.3381, allocations: 4 kB / 1.13 GB, free: 5.547 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3381, allocations: 7.938 kB / 1.13 GB, free: 5.539 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.3381, allocations: 4 kB / 1.13 GB, free: 5.535 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.3394, allocations: 0.5536 MB / 1.13 GB, free: 4.965 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.3394, allocations: 39.77 kB / 1.13 GB, free: 4.926 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.3395, allocations: 0 / 1.13 GB, free: 4.926 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.3399, allocations: 43.94 kB / 1.13 GB, free: 4.883 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.34, allocations: 19.97 kB / 1.13 GB, free: 4.863 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-05/0.34, allocations: 11.98 kB / 1.13 GB, free: 4.852 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003398/0.3403, allocations: 303.1 kB / 1.131 GB, free: 4.562 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3403, allocations: 0 / 1.131 GB, free: 4.562 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003658/0.3407, allocations: 71.89 kB / 1.131 GB, free: 4.492 MB / 1.076 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.0001349/0.3408, allocations: 103.2 kB / 1.131 GB, free: 4.383 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.3421, allocations: 425.7 kB / 1.131 GB, free: 3.969 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3421, allocations: 0 / 1.131 GB, free: 3.969 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006097/0.3427, allocations: 215.8 kB / 1.132 GB, free: 3.758 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.3432, allocations: 53.41 kB / 1.132 GB, free: 3.703 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.3446, allocations: 0.6821 MB / 1.132 GB, free: 2.996 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.3448, allocations: 183.6 kB / 1.132 GB, free: 2.797 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002506/0.345, allocations: 62.25 kB / 1.133 GB, free: 2.734 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.3452, allocations: 28.48 kB / 1.133 GB, free: 2.707 MB / 1.076 GB Notification: Performance of SimCode: time 6.52e-07/0.3452, allocations: 0 / 1.133 GB, free: 2.707 MB / 1.076 GB Notification: Performance of Templates: time 0.5431/0.8883, allocations: 4.485 MB / 1.137 GB, free: 58.59 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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.570315295946784]