Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001199/0.001199, allocations: 100.4 kB / 19.7 MB, free: 1.98 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.001472/0.001472, allocations: 217.4 kB / 22.99 MB, free: 4.926 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: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.14/3.14, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002009/0.002009, allocations: 66.33 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2993, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003684/0.303, allocations: 2.289 MB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002194/0.3052, allocations: 1.347 MB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.3053, allocations: 7.938 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005707/0.3059, allocations: 186.9 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.3061, allocations: 79.34 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.3064, allocations: 131.6 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003903/0.3068, allocations: 334.8 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3069, allocations: 40.77 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.3072, allocations: 143.5 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.3075, allocations: 191.3 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.937e-05/0.3075, allocations: 32 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.3077, allocations: 75.95 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.3078, allocations: 119.7 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.308, allocations: 143.2 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.3086, allocations: 0.4942 MB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3086, allocations: 0 / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3086, allocations: 4 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3086, allocations: 0 / 1.333 GB, free: 11.36 MB / 1.029 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.001313/0.3099, allocations: 0.6494 MB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.3099, allocations: 8.031 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.3111, allocations: 180.4 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/0.3116, allocations: 308.7 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.3118, allocations: 195 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.3119, allocations: 12.38 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007752/0.3126, allocations: 296.1 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3127, allocations: 0 / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.3127, allocations: 8 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.3127, allocations: 0 / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.3138, allocations: 420.3 kB / 1.335 GB, free: 9.223 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.3155, allocations: 0.722 MB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.3162, allocations: 258.3 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000546/0.3167, allocations: 204.7 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.3168, allocations: 4 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.3168, allocations: 38.55 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.923e-06/0.3168, allocations: 0 / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001822/0.3186, allocations: 0.6475 MB / 1.336 GB, free: 7.297 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3187, allocations: 55.41 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004825/0.3192, allocations: 417.6 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.775e-05/0.3192, allocations: 33.7 kB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.3193, allocations: 176.5 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.908e-05/0.3194, allocations: 67.47 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.3196, allocations: 41.69 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3197, allocations: 346.8 kB / 1.337 GB, free: 6.137 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/0.3203, allocations: 191.9 kB / 1.338 GB, free: 5.949 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006215/0.3209, allocations: 320.2 kB / 1.338 GB, free: 5.605 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/0.3219, allocations: 370.1 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3219, allocations: 0 / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001217/0.3232, allocations: 466.8 kB / 1.339 GB, free: 4.781 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3232, allocations: 8 kB / 1.339 GB, free: 4.773 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3232, allocations: 0 / 1.339 GB, free: 4.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3232, allocations: 0 / 1.339 GB, free: 4.773 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.3237, allocations: 63.92 kB / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3237, allocations: 0 / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003643/0.3241, allocations: 51.77 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.3241, allocations: 4 kB / 1.339 GB, free: 4.656 MB / 1.029 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.000225/0.3243, allocations: 170.3 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.5e-05/0.3244, allocations: 39.77 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/0.3245, allocations: 39.45 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3245, allocations: 4 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3245, allocations: 0 / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.3245, allocations: 11.92 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.325, allocations: 338.8 kB / 1.339 GB, free: 4.027 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.325, allocations: 0 / 1.339 GB, free: 4.027 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.3255, allocations: 59.92 kB / 1.339 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3255, allocations: 0 / 1.339 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.3255, allocations: 4 kB / 1.339 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3255, allocations: 7.938 kB / 1.339 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3255, allocations: 4 kB / 1.339 GB, free: 3.953 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.3268, allocations: 0.5508 MB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.3269, allocations: 47.75 kB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.097e-05/0.3269, allocations: 4 kB / 1.34 GB, free: 3.336 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000364/0.3273, allocations: 39.89 kB / 1.34 GB, free: 3.297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3274, allocations: 23.95 kB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.3275, allocations: 11.98 kB / 1.34 GB, free: 3.262 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003531/0.3278, allocations: 303.1 kB / 1.34 GB, free: 2.969 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3278, allocations: 0 / 1.34 GB, free: 2.969 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003598/0.3282, allocations: 67.95 kB / 1.341 GB, free: 2.902 MB / 1.029 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.0001469/0.3283, allocations: 103.1 kB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001177/0.3295, allocations: 421.6 kB / 1.341 GB, free: 2.379 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3295, allocations: 0 / 1.341 GB, free: 2.379 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005899/0.3301, allocations: 227.7 kB / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.3305, allocations: 53.36 kB / 1.341 GB, free: 2.105 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.3319, allocations: 0.6761 MB / 1.342 GB, free: 1.402 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.3321, allocations: 179.5 kB / 1.342 GB, free: 1.207 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002667/0.3324, allocations: 62.27 kB / 1.342 GB, free: 1.148 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.3325, allocations: 23.42 kB / 1.342 GB, free: 1.129 MB / 1.029 GB Notification: Performance of SimCode: time 8.72e-07/0.3325, allocations: 0 / 1.342 GB, free: 1.129 MB / 1.029 GB Notification: Performance of Templates: time 0.009573/0.3421, allocations: 4.886 MB / 1.347 GB, free: 12.31 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.532664309997926]