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.001242/0.001242, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001386/0.001386, allocations: 218.9 kB / 23.01 MB, free: 4.609 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.314/1.314, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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 2.941/2.941, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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: 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.001909/0.001909, allocations: 72.89 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2967, allocations: 180.2 MB / 1.354 GB, free: 7.934 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003524/0.3003, allocations: 2.434 MB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.3023, allocations: 1.48 MB / 1.358 GB, free: 4 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.3025, allocations: 7.938 kB / 1.358 GB, free: 3.992 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005255/0.303, allocations: 206.9 kB / 1.358 GB, free: 3.789 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.3031, allocations: 75.33 kB / 1.358 GB, free: 3.715 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.3035, allocations: 139.7 kB / 1.358 GB, free: 3.578 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003685/0.3038, allocations: 330.8 kB / 1.359 GB, free: 3.254 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3039, allocations: 40.8 kB / 1.359 GB, free: 3.215 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.3042, allocations: 135.5 kB / 1.359 GB, free: 3.082 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002827/0.3044, allocations: 191.3 kB / 1.359 GB, free: 2.895 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.3045, allocations: 32 kB / 1.359 GB, free: 2.863 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.3046, allocations: 79.91 kB / 1.359 GB, free: 2.785 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.3048, allocations: 123.6 kB / 1.359 GB, free: 2.664 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.3049, allocations: 175.1 kB / 1.359 GB, free: 2.492 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.3054, allocations: 0.4981 MB / 1.36 GB, free: 1.992 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3054, allocations: 4 kB / 1.36 GB, free: 1.988 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3054, allocations: 0 / 1.36 GB, free: 1.988 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3054, allocations: 0 / 1.36 GB, free: 1.988 MB / 1.045 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.001197/0.3066, allocations: 0.6444 MB / 1.36 GB, free: 1.312 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.3067, allocations: 8.031 kB / 1.36 GB, free: 1.305 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.3077, allocations: 176.5 kB / 1.361 GB, free: 1.133 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.3082, allocations: 312.6 kB / 1.361 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.3084, allocations: 191 kB / 1.361 GB, free: 0.582 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.3084, allocations: 16.38 kB / 1.361 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006969/0.3091, allocations: 304.6 kB / 1.361 GB, free: 272 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3091, allocations: 0 / 1.361 GB, free: 272 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.3092, allocations: 4 kB / 1.361 GB, free: 268 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.3092, allocations: 4 kB / 1.361 GB, free: 264 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.3102, allocations: 420.3 kB / 1.362 GB, free: 15.85 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.3118, allocations: 0.8306 MB / 1.363 GB, free: 14.97 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006282/0.3124, allocations: 262.3 kB / 1.363 GB, free: 14.71 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.313, allocations: 208.7 kB / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.313, allocations: 0 / 1.363 GB, free: 14.5 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.313, allocations: 38.56 kB / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 9.02e-07/0.313, allocations: 0 / 1.363 GB, free: 14.45 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001684/0.3147, allocations: 0.6513 MB / 1.364 GB, free: 13.8 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.3147, allocations: 55.34 kB / 1.364 GB, free: 13.73 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004887/0.3152, allocations: 433.6 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.3153, allocations: 29.7 kB / 1.364 GB, free: 13.26 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3154, allocations: 176.1 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.014e-05/0.3155, allocations: 67.42 kB / 1.365 GB, free: 13.02 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.3156, allocations: 45.69 kB / 1.365 GB, free: 12.97 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3157, allocations: 346.8 kB / 1.365 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005054/0.3162, allocations: 187.9 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.3168, allocations: 232.7 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009512/0.3177, allocations: 374.5 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3177, allocations: 0 / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001131/0.3189, allocations: 473 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3189, allocations: 4 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3189, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3189, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000434/0.3193, allocations: 63.92 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3193, allocations: 11.81 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.3196, allocations: 43.84 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.3197, allocations: 7.984 kB / 1.366 GB, free: 11.23 MB / 1.061 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.0001805/0.3198, allocations: 173.8 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.299e-05/0.3199, allocations: 35.77 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.482e-05/0.32, allocations: 39.53 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.32, allocations: 4 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.32, allocations: 3.938 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.32, allocations: 0 / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.3205, allocations: 450 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3205, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.3209, allocations: 67.92 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3209, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.3209, allocations: 4 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.3209, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.321, allocations: 3.938 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.3221, allocations: 0.5632 MB / 1.368 GB, free: 9.844 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.3222, allocations: 35.77 kB / 1.368 GB, free: 9.809 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.3222, allocations: 4 kB / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.3226, allocations: 31.94 kB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.878e-05/0.3227, allocations: 31.91 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-05/0.3227, allocations: 7.984 kB / 1.368 GB, free: 9.734 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000339/0.323, allocations: 315.1 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.323, allocations: 0 / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000312/0.3233, allocations: 63.95 kB / 1.368 GB, free: 9.363 MB / 1.061 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.0001223/0.3235, allocations: 99.19 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.3246, allocations: 426.3 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3246, allocations: 4 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005388/0.3251, allocations: 219.8 kB / 1.369 GB, free: 8.621 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.3255, allocations: 54.77 kB / 1.369 GB, free: 8.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.3269, allocations: 0.7244 MB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.3273, allocations: 0.787 MB / 1.37 GB, free: 6.992 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.3275, allocations: 31.41 kB / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.3275, allocations: 4 kB / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of Templates: time 0.00764/0.3351, allocations: 5.021 MB / 1.375 GB, free: 1.957 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 800] 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/jenkins1/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: 10.388260661013192]