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.001182/0.001182, allocations: 110.6 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.00133/0.00133, allocations: 220.7 kB / 22.26 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.327/1.327, allocations: 230.6 MB / 256 MB, free: 7.969 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.914/2.914, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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.001863/0.001863, allocations: 67.78 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2825, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003443/0.2859, allocations: 2.421 MB / 1.355 GB, free: 6.031 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.288, allocations: 1.491 MB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.2882, allocations: 4 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005241/0.2887, allocations: 202.9 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.2888, allocations: 79.28 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003363/0.2892, allocations: 139.7 kB / 1.357 GB, free: 4.113 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003809/0.2895, allocations: 330.7 kB / 1.357 GB, free: 3.789 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.2896, allocations: 37.12 kB / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.2899, allocations: 147.4 kB / 1.358 GB, free: 3.609 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002832/0.2902, allocations: 187.3 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.16e-05/0.2902, allocations: 32 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.2904, allocations: 75.97 kB / 1.358 GB, free: 3.32 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.2905, allocations: 131.6 kB / 1.358 GB, free: 3.191 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.2906, allocations: 171.1 kB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.2912, allocations: 0.4942 MB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2912, allocations: 0 / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2912, allocations: 4 kB / 1.359 GB, free: 2.523 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.2912, allocations: 0 / 1.359 GB, free: 2.523 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.001213/0.2924, allocations: 0.6405 MB / 1.359 GB, free: 1.852 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2924, allocations: 11.97 kB / 1.359 GB, free: 1.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.995e-05/0.2925, allocations: 50.75 kB / 1.359 GB, free: 1.781 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/0.2936, allocations: 180.5 kB / 1.359 GB, free: 1.605 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.2941, allocations: 308.7 kB / 1.36 GB, free: 1.281 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001666/0.2942, allocations: 195 kB / 1.36 GB, free: 1.055 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.2943, allocations: 12.38 kB / 1.36 GB, free: 1.043 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007068/0.295, allocations: 304.3 kB / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.295, allocations: 0 / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.37e-05/0.295, allocations: 0 / 1.36 GB, free: 0.7422 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.295, allocations: 4 kB / 1.36 GB, free: 0.7383 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.296, allocations: 416.4 kB / 1.361 GB, free: 340 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.2976, allocations: 0.8383 MB / 1.361 GB, free: 15.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.2983, allocations: 254.4 kB / 1.362 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005024/0.2988, allocations: 208.7 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.2988, allocations: 4 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.2988, allocations: 30.56 kB / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.2988, allocations: 0 / 1.362 GB, free: 14.94 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001673/0.3005, allocations: 0.6628 MB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.3005, allocations: 55.34 kB / 1.363 GB, free: 14.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004545/0.301, allocations: 425.6 kB / 1.363 GB, free: 13.78 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.301, allocations: 33.7 kB / 1.363 GB, free: 13.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.3012, allocations: 180.1 kB / 1.363 GB, free: 13.56 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.698e-05/0.3013, allocations: 59.44 kB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.3014, allocations: 37.7 kB / 1.363 GB, free: 13.46 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3015, allocations: 346.8 kB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005088/0.302, allocations: 195.8 kB / 1.364 GB, free: 12.92 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005238/0.3025, allocations: 236.6 kB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009453/0.3035, allocations: 374.7 kB / 1.364 GB, free: 12.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3035, allocations: 0 / 1.364 GB, free: 12.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001112/0.3046, allocations: 465.1 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3046, allocations: 7.938 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3046, allocations: 3.938 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3046, allocations: 4 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.3051, allocations: 67.8 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3051, allocations: 4 kB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.3054, allocations: 39.84 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.3054, allocations: 8 kB / 1.365 GB, free: 11.72 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.000175/0.3056, allocations: 166.4 kB / 1.365 GB, free: 11.55 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-05/0.3056, allocations: 35.77 kB / 1.365 GB, free: 11.51 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.65e-05/0.3057, allocations: 43.52 kB / 1.365 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3057, allocations: 7.938 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3057, allocations: 0 / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3057, allocations: 4.031 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.3062, allocations: 462 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.3062, allocations: 8 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003942/0.3066, allocations: 55.88 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.3066, allocations: 4 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.3066, allocations: 7.984 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.3067, allocations: 3.938 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3067, allocations: 0 / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.3078, allocations: 0.5522 MB / 1.366 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.13e-05/0.3078, allocations: 43.75 kB / 1.366 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.3079, allocations: 0 / 1.366 GB, free: 10.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/0.3082, allocations: 39.89 kB / 1.366 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.597e-05/0.3083, allocations: 27.89 kB / 1.366 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.3083, allocations: 8 kB / 1.366 GB, free: 10.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003215/0.3087, allocations: 311.1 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3087, allocations: 3.938 kB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003027/0.309, allocations: 63.95 kB / 1.367 GB, free: 9.836 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.001448/0.3104, allocations: 1.099 MB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.3115, allocations: 421.9 kB / 1.368 GB, free: 8.297 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3115, allocations: 0 / 1.368 GB, free: 8.297 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000538/0.312, allocations: 219.8 kB / 1.369 GB, free: 8.082 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.3124, allocations: 54.47 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00638/0.3188, allocations: 4.153 MB / 1.373 GB, free: 3.793 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.3192, allocations: 0.7986 MB / 1.373 GB, free: 2.969 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002336/0.3194, allocations: 62.25 kB / 1.373 GB, free: 2.906 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.3196, allocations: 111.4 kB / 1.374 GB, free: 2.797 MB / 1.061 GB Notification: Performance of SimCode: time 3.8e-07/0.3196, allocations: 0 / 1.374 GB, free: 2.797 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/0.3547, allocations: 8.219 MB / 1.382 GB, free: 10.76 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.79, allocations: 5.875 kB / 1.382 GB, free: 10.76 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.736590470885858]