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.001462/0.001462, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001589/0.001589, allocations: 210.8 kB / 22.25 MB, free: 5.262 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.785 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.926/2.926, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_latest_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.001963/0.001963, allocations: 67.05 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2938, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003601/0.2974, allocations: 2.284 MB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.2996, allocations: 1.351 MB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.2997, allocations: 7.938 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005459/0.3003, allocations: 175 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001534/0.3004, allocations: 75.34 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.3008, allocations: 139.6 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.3012, allocations: 330.8 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3013, allocations: 33.14 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000249/0.3015, allocations: 151.4 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.3018, allocations: 171.3 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.3019, allocations: 32 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.302, allocations: 79.95 kB / 1.368 GB, free: 9.219 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.3022, allocations: 115.7 kB / 1.368 GB, free: 9.105 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.3023, allocations: 139.2 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.3028, allocations: 0.4981 MB / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3028, allocations: 0 / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3028, allocations: 0 / 1.369 GB, free: 8.469 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.3029, allocations: 0 / 1.369 GB, free: 8.469 MB / 1.061 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.001234/0.3041, allocations: 0.6445 MB / 1.369 GB, free: 7.793 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3041, allocations: 12.03 kB / 1.369 GB, free: 7.781 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.829e-05/0.3042, allocations: 46.73 kB / 1.369 GB, free: 7.727 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.3053, allocations: 176.5 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005017/0.3058, allocations: 316.6 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.306, allocations: 191 kB / 1.37 GB, free: 7 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.306, allocations: 12.38 kB / 1.37 GB, free: 6.988 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007564/0.3068, allocations: 299.2 kB / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3068, allocations: 0 / 1.37 GB, free: 6.691 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.3068, allocations: 8 kB / 1.37 GB, free: 6.684 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3068, allocations: 4 kB / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.3079, allocations: 416.3 kB / 1.371 GB, free: 6.273 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.3095, allocations: 0.7652 MB / 1.372 GB, free: 5.461 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.3102, allocations: 262.3 kB / 1.372 GB, free: 5.195 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005587/0.3107, allocations: 204.7 kB / 1.372 GB, free: 4.992 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.3108, allocations: 4 kB / 1.372 GB, free: 4.988 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3108, allocations: 34.56 kB / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.3108, allocations: 0 / 1.372 GB, free: 4.945 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001759/0.3125, allocations: 0.6515 MB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.3126, allocations: 59.34 kB / 1.373 GB, free: 4.219 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.3131, allocations: 429.6 kB / 1.373 GB, free: 3.789 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.3131, allocations: 33.7 kB / 1.373 GB, free: 3.75 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.3133, allocations: 172.1 kB / 1.373 GB, free: 3.578 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.3133, allocations: 63.47 kB / 1.373 GB, free: 3.516 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.3134, allocations: 41.7 kB / 1.373 GB, free: 3.469 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.3136, allocations: 350.7 kB / 1.374 GB, free: 3.117 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005461/0.3141, allocations: 199.8 kB / 1.374 GB, free: 2.922 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006154/0.3148, allocations: 304.3 kB / 1.374 GB, free: 2.594 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.3158, allocations: 370.8 kB / 1.375 GB, free: 2.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3158, allocations: 3.938 kB / 1.375 GB, free: 2.227 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001184/0.317, allocations: 473 kB / 1.375 GB, free: 1.758 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.317, allocations: 5.719 kB / 1.375 GB, free: 1.754 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.317, allocations: 0 / 1.375 GB, free: 1.754 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.317, allocations: 4 kB / 1.375 GB, free: 1.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.3174, allocations: 59.86 kB / 1.375 GB, free: 1.691 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3174, allocations: 7.984 kB / 1.375 GB, free: 1.684 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.3178, allocations: 43.84 kB / 1.375 GB, free: 1.641 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.3178, allocations: 4 kB / 1.375 GB, free: 1.637 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.0001857/0.318, allocations: 169.8 kB / 1.375 GB, free: 1.461 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.318, allocations: 35.77 kB / 1.375 GB, free: 1.426 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.912e-05/0.3181, allocations: 47.52 kB / 1.375 GB, free: 1.383 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3181, allocations: 3.984 kB / 1.375 GB, free: 1.379 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.3181, allocations: 3.984 kB / 1.375 GB, free: 1.375 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3181, allocations: 0 / 1.375 GB, free: 1.375 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.3186, allocations: 386.2 kB / 1.376 GB, free: 0.957 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3186, allocations: 0 / 1.376 GB, free: 0.957 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004117/0.319, allocations: 55.92 kB / 1.376 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.319, allocations: 4 kB / 1.376 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.3191, allocations: 4 kB / 1.376 GB, free: 0.8945 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3191, allocations: 3.938 kB / 1.376 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3191, allocations: 0 / 1.376 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.3203, allocations: 0.5574 MB / 1.376 GB, free: 324 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.543e-05/0.3203, allocations: 47.7 kB / 1.376 GB, free: 276 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.3204, allocations: 4 kB / 1.376 GB, free: 272 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.3207, allocations: 39.88 kB / 1.377 GB, free: 232 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/0.3208, allocations: 27.97 kB / 1.377 GB, free: 204 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.3209, allocations: 7.984 kB / 1.377 GB, free: 196 kB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003465/0.3212, allocations: 307.1 kB / 1.377 GB, free: 15.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3212, allocations: 0 / 1.377 GB, free: 15.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000311/0.3215, allocations: 68 kB / 1.377 GB, free: 15.82 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.00155/0.3231, allocations: 1.092 MB / 1.378 GB, free: 14.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.3242, allocations: 420.7 kB / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3242, allocations: 4 kB / 1.378 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005661/0.3248, allocations: 215.8 kB / 1.379 GB, free: 14.08 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.3252, allocations: 67.16 kB / 1.379 GB, free: 14.01 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006741/0.3319, allocations: 4.144 MB / 1.383 GB, free: 9.793 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.3321, allocations: 187.4 kB / 1.383 GB, free: 9.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002868/0.3324, allocations: 66.25 kB / 1.383 GB, free: 9.527 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.3326, allocations: 107.4 kB / 1.383 GB, free: 9.426 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/0.3326, allocations: 0 / 1.383 GB, free: 9.426 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03685/0.3695, allocations: 8.935 MB / 1.392 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/10.71, allocations: 7.922 kB / 1.392 GB, free: 0.6797 MB / 1.076 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --stepSize=1.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 840.0] 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: 16.645137580111623]