Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.001284/0.001284, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001401/0.001401, allocations: 215 kB / 20.13 MB, free: 2.949 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.587/1.587, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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 3.145/3.145, allocations: 0.5003 GB / 0.8026 GB, free: 6.711 MB / 0.6387 GB " [Timeout remaining time 176] 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.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="cs",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.002177/0.002177, allocations: 71.91 kB / 1.165 GB, free: 480 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.053, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003449/1.056, allocations: 2.218 MB / 1.342 GB, free: 14.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002278/1.058, allocations: 1.403 MB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/1.058, allocations: 8.906 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007284/1.059, allocations: 252.9 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00112/1.06, allocations: 433 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 1.057e-05/1.06, allocations: 4 kB / 1.344 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003996/1.061, allocations: 393.1 kB / 1.345 GB, free: 13.22 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.559e-05/1.061, allocations: 10.86 kB / 1.345 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/1.061, allocations: 149.7 kB / 1.345 GB, free: 13.14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002652/1.061, allocations: 215.1 kB / 1.345 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.189e-05/1.061, allocations: 26.28 kB / 1.345 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005559/1.062, allocations: 272.4 kB / 1.345 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000351/1.062, allocations: 394.1 kB / 1.346 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003449/1.062, allocations: 412.8 kB / 1.346 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/1.064, allocations: 1.164 MB / 1.347 GB, free: 12.24 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.064, allocations: 0.7031 kB / 1.347 GB, free: 12.24 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.333e-06/1.064, allocations: 0 / 1.347 GB, free: 12.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.544e-05/1.064, allocations: 0 / 1.347 GB, free: 12.24 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001774/1.066, allocations: 1.248 MB / 1.348 GB, free: 11.33 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.066, allocations: 10.03 kB / 1.349 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.102e-05/1.066, allocations: 15.38 kB / 1.349 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.53e-05/1.066, allocations: 47.94 kB / 1.349 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007519/1.066, allocations: 148.3 kB / 1.349 GB, free: 11.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004082/1.071, allocations: 4.274 MB / 1.353 GB, free: 9.469 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/1.071, allocations: 10.19 kB / 1.353 GB, free: 9.465 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/1.071, allocations: 14.31 kB / 1.353 GB, free: 9.461 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008615/1.071, allocations: 0.6419 MB / 1.354 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/1.071, allocations: 0 / 1.354 GB, free: 9.277 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/1.072, allocations: 5.219 kB / 1.354 GB, free: 9.273 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/1.072, allocations: 7.938 kB / 1.354 GB, free: 9.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001282/1.073, allocations: 1.103 MB / 1.355 GB, free: 9.027 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/1.076, allocations: 3.158 MB / 1.358 GB, free: 7.977 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007875/1.077, allocations: 338.3 kB / 1.358 GB, free: 7.863 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000351/1.078, allocations: 225.9 kB / 1.358 GB, free: 7.797 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/1.078, allocations: 23.62 kB / 1.358 GB, free: 7.793 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/1.078, allocations: 32.12 kB / 1.358 GB, free: 7.754 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 1.923e-06/1.078, allocations: 0 / 1.358 GB, free: 7.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001379/1.079, allocations: 0.7228 MB / 1.359 GB, free: 7.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/1.079, allocations: 54.31 kB / 1.359 GB, free: 7.457 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007275/1.086, allocations: 6.502 MB / 1.365 GB, free: 5.266 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.849e-05/1.086, allocations: 27.77 kB / 1.365 GB, free: 5.234 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/1.087, allocations: 424.6 kB / 1.366 GB, free: 4.895 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/1.087, allocations: 65.59 kB / 1.366 GB, free: 4.844 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/1.087, allocations: 64 kB / 1.366 GB, free: 4.805 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.682e-05/1.087, allocations: 315.6 kB / 1.366 GB, free: 4.496 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006444/1.088, allocations: 0.5286 MB / 1.367 GB, free: 4.375 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/1.088, allocations: 0.5544 MB / 1.367 GB, free: 4.23 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009604/1.089, allocations: 0.7633 MB / 1.368 GB, free: 4.02 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.089, allocations: 1.188 kB / 1.368 GB, free: 4.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0017/1.091, allocations: 1.234 MB / 1.369 GB, free: 3.664 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.091, allocations: 7.656 kB / 1.369 GB, free: 3.664 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/1.091, allocations: 5.078 kB / 1.369 GB, free: 3.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/1.091, allocations: 2.031 kB / 1.369 GB, free: 3.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003449/1.091, allocations: 68.28 kB / 1.369 GB, free: 3.652 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/1.091, allocations: 1.938 kB / 1.369 GB, free: 3.652 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006949/1.092, allocations: 48.84 kB / 1.369 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.244e-05/1.092, allocations: 13.08 kB / 1.369 GB, free: 3.625 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.0003964/1.092, allocations: 285.2 kB / 1.37 GB, free: 3.453 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003116/1.093, allocations: 94.58 kB / 1.37 GB, free: 3.398 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/1.094, allocations: 0.5608 MB / 1.37 GB, free: 3.219 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.094, allocations: 1.281 kB / 1.37 GB, free: 3.219 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.094, allocations: 1 kB / 1.37 GB, free: 3.219 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.094, allocations: 5.297 kB / 1.37 GB, free: 3.215 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004923/1.099, allocations: 2.818 MB / 1.373 GB, free: 2.051 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/1.099, allocations: 4.844 kB / 1.373 GB, free: 2.051 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003114/1.099, allocations: 49.08 kB / 1.373 GB, free: 2.047 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.495e-05/1.099, allocations: 6.188 kB / 1.373 GB, free: 2.047 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/1.099, allocations: 16.47 kB / 1.373 GB, free: 2.039 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.38e-05/1.099, allocations: 9.906 kB / 1.373 GB, free: 2.035 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/1.099, allocations: 5.672 kB / 1.373 GB, free: 2.035 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/1.101, allocations: 0.6784 MB / 1.374 GB, free: 1.645 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006487/1.101, allocations: 262.8 kB / 1.374 GB, free: 1.449 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000368/1.102, allocations: 15.92 kB / 1.374 GB, free: 1.441 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/1.102, allocations: 24.2 kB / 1.374 GB, free: 1.441 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/1.102, allocations: 26.8 kB / 1.374 GB, free: 1.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/1.102, allocations: 11.11 kB / 1.374 GB, free: 1.43 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.005306/1.108, allocations: 5.156 MB / 1.379 GB, free: 15.57 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/1.108, allocations: 4 kB / 1.379 GB, free: 15.56 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001236/1.109, allocations: 189.6 kB / 1.379 GB, free: 15.55 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002059/1.111, allocations: 1.29 MB / 1.381 GB, free: 14.61 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001361/1.112, allocations: 0.7674 MB / 1.381 GB, free: 14.42 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.112, allocations: 0 / 1.381 GB, free: 14.42 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000459/1.113, allocations: 229.1 kB / 1.382 GB, free: 14.36 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/1.114, allocations: 192.2 kB / 1.382 GB, free: 14.29 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03382/1.148, allocations: 22.94 MB / 1.404 GB, free: 4.891 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009101/1.149, allocations: 0.9997 MB / 1.405 GB, free: 3.977 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0006124/1.149, allocations: 153.9 kB / 1.405 GB, free: 3.844 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005946/1.15, allocations: 296.4 kB / 1.406 GB, free: 3.586 MB / 1.076 GB Notification: Performance of SimCode: time 1.352e-06/1.15, allocations: 0 / 1.406 GB, free: 3.586 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05668/1.207, allocations: 23.89 MB / 1.429 GB, free: 13.3 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.994/11.2, allocations: 8.297 kB / 1.429 GB, free: 13.3 MB / 1.107 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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: 18.169155880983453]