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.00123/0.00123, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001347/0.001347, allocations: 212.8 kB / 22.25 MB, free: 5.125 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.308/1.308, allocations: 230.6 MB / 256 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 179] 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 2.868/2.868, allocations: 0.49 GB / 0.7951 GB, free: 33.37 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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) [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.001852/0.001852, allocations: 75.12 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2964, allocations: 176.1 MB / 1.326 GB, free: 1.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003558/0.3, allocations: 2.437 MB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002124/0.3021, allocations: 1.48 MB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.884e-05/0.3022, allocations: 8 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005137/0.3027, allocations: 202.9 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/0.3028, allocations: 75.28 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.3031, allocations: 147.6 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.3035, allocations: 334.7 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3036, allocations: 33.14 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002346/0.3038, allocations: 143.5 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002743/0.3041, allocations: 187.3 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.715e-05/0.3041, allocations: 32 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.3043, allocations: 79.95 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.3044, allocations: 123.6 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.3046, allocations: 175 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005054/0.3051, allocations: 0.4942 MB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3051, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3051, allocations: 0 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.3051, allocations: 0 / 1.332 GB, free: 12.01 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.001138/0.3062, allocations: 0.6405 MB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3063, allocations: 12.03 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.533e-05/0.3063, allocations: 54.67 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.3074, allocations: 180.4 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004394/0.3078, allocations: 304.7 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.308, allocations: 195 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.308, allocations: 12.38 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.3087, allocations: 299.9 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3087, allocations: 0 / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.3088, allocations: 4 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3088, allocations: 8 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.3098, allocations: 412.4 kB / 1.334 GB, free: 9.816 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.3113, allocations: 0.8461 MB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006101/0.3119, allocations: 250.4 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/0.3124, allocations: 208.7 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.3125, allocations: 4 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3125, allocations: 30.56 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.3125, allocations: 0 / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001638/0.3141, allocations: 0.6552 MB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.3142, allocations: 55.34 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004595/0.3147, allocations: 429.6 kB / 1.336 GB, free: 7.262 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.3147, allocations: 29.7 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.3148, allocations: 184 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.3149, allocations: 59.48 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.636e-05/0.315, allocations: 37.69 kB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3151, allocations: 346.8 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.3156, allocations: 199.9 kB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.3162, allocations: 228.8 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009341/0.3171, allocations: 382 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3171, allocations: 0 / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001082/0.3182, allocations: 465.1 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3182, allocations: 4 kB / 1.338 GB, free: 5.324 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3182, allocations: 3.984 kB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3182, allocations: 4 kB / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000415/0.3186, allocations: 67.8 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3186, allocations: 4 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.3189, allocations: 43.89 kB / 1.338 GB, free: 5.203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.319, allocations: 11.97 kB / 1.338 GB, free: 5.191 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.0001844/0.3191, allocations: 165.8 kB / 1.338 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.3192, allocations: 39.77 kB / 1.338 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.044e-05/0.3193, allocations: 39.53 kB / 1.338 GB, free: 4.945 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3193, allocations: 3.938 kB / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.3193, allocations: 0 / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3193, allocations: 0 / 1.338 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.3198, allocations: 461.9 kB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3198, allocations: 0 / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003951/0.3202, allocations: 67.86 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3202, allocations: 0 / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.3202, allocations: 4 kB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3202, allocations: 3.938 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.3202, allocations: 7.984 kB / 1.339 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.3214, allocations: 0.5472 MB / 1.339 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.3214, allocations: 43.77 kB / 1.339 GB, free: 3.762 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.303e-05/0.3215, allocations: 7.922 kB / 1.339 GB, free: 3.754 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003173/0.3218, allocations: 43.89 kB / 1.339 GB, free: 3.711 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.3219, allocations: 19.95 kB / 1.339 GB, free: 3.691 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.3219, allocations: 11.94 kB / 1.34 GB, free: 3.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003234/0.3222, allocations: 311.1 kB / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3222, allocations: 0 / 1.34 GB, free: 3.379 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00031/0.3225, allocations: 64 kB / 1.34 GB, free: 3.316 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.001457/0.324, allocations: 1.1 MB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.3251, allocations: 419.7 kB / 1.341 GB, free: 1.777 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3251, allocations: 0 / 1.341 GB, free: 1.777 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005332/0.3256, allocations: 225.8 kB / 1.342 GB, free: 1.559 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.326, allocations: 45.36 kB / 1.342 GB, free: 1.516 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/0.3323, allocations: 4.149 MB / 1.346 GB, free: 13.28 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.3327, allocations: 0.7985 MB / 1.346 GB, free: 12.46 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002338/0.3329, allocations: 66.25 kB / 1.346 GB, free: 12.39 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002321/0.3332, allocations: 107.4 kB / 1.347 GB, free: 12.29 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.3332, allocations: 0 / 1.347 GB, free: 12.29 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.3673, allocations: 8.229 MB / 1.355 GB, free: 4.258 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.22/10.59, allocations: 6.172 kB / 1.355 GB, free: 4.254 MB / 1.045 GB " [Timeout remaining time 289] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv --start-time 0 --stop-time 2600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.04 Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv","/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] "Error: Could not read variable equFit.QLoa_flow in file Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv. Warning: Get data of variable equFit.QLoa_flow from file Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv failed! Error: Could not read variable equFit.QSou_flow in file Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv. Warning: Get data of variable equFit.QSou_flow from file Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.565507927]