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.001509/0.001509, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001665/0.001665, allocations: 217 kB / 22.25 MB, free: 5.082 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 8.02 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.387/3.387, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",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.002208/0.002208, allocations: 66.84 kB / 1.177 GB, free: 17.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4542, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.004145/0.4584, allocations: 2.23 MB / 1.355 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002635/0.461, allocations: 1.418 MB / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.4612, allocations: 0 / 1.356 GB, free: 4.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007781/0.462, allocations: 291.3 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001212/0.4632, allocations: 443.2 kB / 1.357 GB, free: 4.051 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 1.85e-05/0.4632, allocations: 0 / 1.357 GB, free: 4.051 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005391/0.4637, allocations: 390.5 kB / 1.358 GB, free: 3.668 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.946e-05/0.4638, allocations: 12.59 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.464, allocations: 155.4 kB / 1.358 GB, free: 3.504 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/0.4644, allocations: 211.1 kB / 1.358 GB, free: 3.297 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.483e-05/0.4645, allocations: 24 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006471/0.4651, allocations: 303.6 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004213/0.4655, allocations: 394.8 kB / 1.359 GB, free: 2.59 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005375/0.4661, allocations: 413.7 kB / 1.359 GB, free: 2.184 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001421/0.4675, allocations: 1.152 MB / 1.36 GB, free: 1.027 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4675, allocations: 7.875 kB / 1.36 GB, free: 1.02 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4675, allocations: 0 / 1.36 GB, free: 1.02 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.63e-05/0.4675, allocations: 0 / 1.36 GB, free: 1.02 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.002396/0.4699, allocations: 1.187 MB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.47, allocations: 8.031 kB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.174e-05/0.47, allocations: 46.73 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007649/0.4708, allocations: 148.2 kB / 1.361 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004926/0.4757, allocations: 4.213 MB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.4758, allocations: 12.38 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.4758, allocations: 16.38 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009652/0.4768, allocations: 0.638 MB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.4768, allocations: 4 kB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.4768, allocations: 4 kB / 1.366 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.4768, allocations: 4 kB / 1.366 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.4782, allocations: 1.105 MB / 1.367 GB, free: 9.543 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004348/0.4826, allocations: 3.134 MB / 1.37 GB, free: 6.367 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008097/0.4834, allocations: 348.1 kB / 1.371 GB, free: 6.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.4838, allocations: 220.8 kB / 1.371 GB, free: 5.801 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.787e-05/0.4838, allocations: 23.92 kB / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.4839, allocations: 34.56 kB / 1.371 GB, free: 5.734 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.314e-06/0.4839, allocations: 4 kB / 1.371 GB, free: 5.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001439/0.4853, allocations: 0.7179 MB / 1.372 GB, free: 5.008 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.4854, allocations: 55.41 kB / 1.372 GB, free: 4.941 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008311/0.4937, allocations: 6.493 MB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.4937, allocations: 33.7 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000436/0.4942, allocations: 416.4 kB / 1.378 GB, free: 13.98 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.819e-05/0.4943, allocations: 75.41 kB / 1.379 GB, free: 13.9 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.4944, allocations: 61.64 kB / 1.379 GB, free: 13.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4946, allocations: 314 kB / 1.379 GB, free: 13.52 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006989/0.4953, allocations: 0.5271 MB / 1.379 GB, free: 13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007254/0.496, allocations: 0.5522 MB / 1.38 GB, free: 12.44 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.4971, allocations: 0.7714 MB / 1.381 GB, free: 11.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4971, allocations: 0 / 1.381 GB, free: 11.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001755/0.4988, allocations: 1.235 MB / 1.382 GB, free: 10.42 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.4988, allocations: 4 kB / 1.382 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.4989, allocations: 4 kB / 1.382 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.4989, allocations: 0 / 1.382 GB, free: 10.41 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.4992, allocations: 63.89 kB / 1.382 GB, free: 10.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.4992, allocations: 7.938 kB / 1.382 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/0.4998, allocations: 43.78 kB / 1.382 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.4998, allocations: 12 kB / 1.382 GB, free: 10.29 MB / 1.076 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.0004396/0.5002, allocations: 293.5 kB / 1.382 GB, free: 9.988 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.5005, allocations: 95.33 kB / 1.382 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.5015, allocations: 0.5623 MB / 1.383 GB, free: 9.324 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.5015, allocations: 7.938 kB / 1.383 GB, free: 9.316 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5015, allocations: 0 / 1.383 GB, free: 9.316 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.5015, allocations: 3.984 kB / 1.383 GB, free: 9.312 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/0.5053, allocations: 2.782 MB / 1.386 GB, free: 6.422 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.5053, allocations: 4 kB / 1.386 GB, free: 6.418 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002774/0.5056, allocations: 52.5 kB / 1.386 GB, free: 6.367 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.5056, allocations: 4 kB / 1.386 GB, free: 6.363 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.5056, allocations: 15.98 kB / 1.386 GB, free: 6.348 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.464e-05/0.5057, allocations: 7.938 kB / 1.386 GB, free: 6.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5057, allocations: 8 kB / 1.386 GB, free: 6.332 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.5068, allocations: 0.6836 MB / 1.386 GB, free: 5.574 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.5072, allocations: 179.2 kB / 1.387 GB, free: 5.398 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.5073, allocations: 16 kB / 1.387 GB, free: 5.383 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000449/0.5078, allocations: 23.98 kB / 1.387 GB, free: 5.359 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.5078, allocations: 31.84 kB / 1.387 GB, free: 5.328 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.5078, allocations: 8 kB / 1.387 GB, free: 5.32 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.005496/0.5133, allocations: 5.164 MB / 1.392 GB, free: 148 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5133, allocations: 0 / 1.392 GB, free: 148 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007886/0.5141, allocations: 187.9 kB / 1.392 GB, free: 15.96 MB / 1.092 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.001768/0.5159, allocations: 1.288 MB / 1.393 GB, free: 14.59 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.5171, allocations: 0.7612 MB / 1.394 GB, free: 13.82 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5171, allocations: 0 / 1.394 GB, free: 13.82 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.5174, allocations: 227.8 kB / 1.394 GB, free: 13.6 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.5185, allocations: 197.2 kB / 1.394 GB, free: 13.41 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02803/0.5465, allocations: 22.94 MB / 1.417 GB, free: 6.223 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008527/0.5474, allocations: 1.003 MB / 1.418 GB, free: 5.191 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004795/0.5478, allocations: 145.4 kB / 1.418 GB, free: 5.047 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005041/0.5483, allocations: 291.3 kB / 1.418 GB, free: 4.762 MB / 1.107 GB Notification: Performance of SimCode: time 2.074e-06/0.5483, allocations: 0 / 1.418 GB, free: 4.762 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06743/0.6158, allocations: 24.08 MB / 1.442 GB, free: 12.95 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.54, allocations: 6.781 kB / 1.442 GB, free: 12.95 MB / 1.139 GB " [Timeout remaining time 286] (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: 20.698872780194506]