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.001574/0.001574, allocations: 97.27 kB / 19.73 MB, free: 2.129 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.001772/0.001772, allocations: 218.5 kB / 23.03 MB, free: 4.953 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.313/3.313, allocations: 0.5003 GB / 0.8062 GB, free: 28.53 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="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.002076/0.002076, allocations: 62.28 kB / 1.171 GB, free: 19.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3712, allocations: 179 MB / 1.345 GB, free: 15.88 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003917/0.3751, allocations: 2.074 MB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002487/0.3776, allocations: 1.293 MB / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.3778, allocations: 0 / 1.349 GB, free: 12.48 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007575/0.3785, allocations: 247.4 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.3798, allocations: 449.3 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 1.849e-05/0.3799, allocations: 0 / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006053/0.3805, allocations: 394.5 kB / 1.35 GB, free: 11.42 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.459e-05/0.3805, allocations: 16.52 kB / 1.35 GB, free: 11.4 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.3808, allocations: 151.4 kB / 1.35 GB, free: 11.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.3811, allocations: 211.1 kB / 1.35 GB, free: 11.05 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.378e-05/0.3812, allocations: 28 kB / 1.35 GB, free: 11.02 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006601/0.3818, allocations: 295.6 kB / 1.35 GB, free: 10.73 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003934/0.3822, allocations: 390.8 kB / 1.351 GB, free: 10.35 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000506/0.3827, allocations: 342.2 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/0.3841, allocations: 1.163 MB / 1.352 GB, free: 8.844 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3841, allocations: 0 / 1.352 GB, free: 8.844 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3841, allocations: 0 / 1.352 GB, free: 8.844 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.059e-05/0.3841, allocations: 3.938 kB / 1.352 GB, free: 8.84 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.002025/0.3861, allocations: 1.183 MB / 1.353 GB, free: 7.621 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.3862, allocations: 8.031 kB / 1.353 GB, free: 7.613 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.365e-05/0.3862, allocations: 4.188 kB / 1.353 GB, free: 7.609 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.609e-05/0.3863, allocations: 54.73 kB / 1.353 GB, free: 7.547 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000721/0.387, allocations: 152.2 kB / 1.354 GB, free: 7.398 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004949/0.3919, allocations: 4.213 MB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/0.392, allocations: 16.38 kB / 1.358 GB, free: 3.129 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.449e-05/0.392, allocations: 12.38 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009349/0.393, allocations: 0.6417 MB / 1.358 GB, free: 2.469 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.393, allocations: 4 kB / 1.358 GB, free: 2.465 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.393, allocations: 4 kB / 1.358 GB, free: 2.461 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.393, allocations: 4 kB / 1.358 GB, free: 2.457 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.3943, allocations: 1.101 MB / 1.359 GB, free: 1.355 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004248/0.3986, allocations: 3.017 MB / 1.362 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007658/0.3994, allocations: 330.7 kB / 1.363 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.3997, allocations: 228.6 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-05/0.3998, allocations: 27.97 kB / 1.363 GB, free: 13.7 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.752e-05/0.3998, allocations: 38.56 kB / 1.363 GB, free: 13.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.094e-06/0.3998, allocations: 4 kB / 1.363 GB, free: 13.65 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001367/0.4012, allocations: 0.7171 MB / 1.364 GB, free: 12.93 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.4013, allocations: 55.41 kB / 1.364 GB, free: 12.86 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007882/0.4091, allocations: 6.493 MB / 1.37 GB, free: 6.348 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/0.4092, allocations: 29.7 kB / 1.37 GB, free: 6.312 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000399/0.4096, allocations: 424.5 kB / 1.37 GB, free: 5.895 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-05/0.4097, allocations: 67.42 kB / 1.37 GB, free: 5.828 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.4098, allocations: 61.64 kB / 1.371 GB, free: 5.762 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.4099, allocations: 317.9 kB / 1.371 GB, free: 5.445 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000684/0.4106, allocations: 0.5349 MB / 1.371 GB, free: 4.91 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/0.4113, allocations: 0.5483 MB / 1.372 GB, free: 4.355 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.4123, allocations: 0.7675 MB / 1.373 GB, free: 3.582 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.4123, allocations: 0 / 1.373 GB, free: 3.582 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00175/0.4141, allocations: 1.239 MB / 1.374 GB, free: 2.336 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.4141, allocations: 4 kB / 1.374 GB, free: 2.332 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4141, allocations: 4.031 kB / 1.374 GB, free: 2.328 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4141, allocations: 0 / 1.374 GB, free: 2.328 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.4145, allocations: 67.89 kB / 1.374 GB, free: 2.262 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.4145, allocations: 0 / 1.374 GB, free: 2.262 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/0.415, allocations: 43.77 kB / 1.374 GB, free: 2.219 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.415, allocations: 12 kB / 1.374 GB, free: 2.207 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.0003793/0.4154, allocations: 281.6 kB / 1.374 GB, free: 1.922 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.4157, allocations: 95.33 kB / 1.374 GB, free: 1.828 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.4167, allocations: 0.5662 MB / 1.375 GB, free: 1.25 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.4168, allocations: 0 / 1.375 GB, free: 1.25 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4168, allocations: 3.938 kB / 1.375 GB, free: 1.246 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4168, allocations: 4 kB / 1.375 GB, free: 1.242 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003675/0.4204, allocations: 2.666 MB / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.4204, allocations: 8 kB / 1.378 GB, free: 14.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.4207, allocations: 51.89 kB / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.4207, allocations: 4 kB / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/0.4207, allocations: 12 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/0.4208, allocations: 7.938 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.4208, allocations: 4 kB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.4218, allocations: 0.6814 MB / 1.378 GB, free: 13.63 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003247/0.4221, allocations: 191.2 kB / 1.378 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.4223, allocations: 15.98 kB / 1.378 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003958/0.4227, allocations: 23.98 kB / 1.378 GB, free: 13.4 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.4227, allocations: 27.84 kB / 1.379 GB, free: 13.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.4227, allocations: 16 kB / 1.379 GB, free: 13.36 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.005262/0.428, allocations: 5.157 MB / 1.384 GB, free: 8.191 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.428, allocations: 0 / 1.384 GB, free: 8.191 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008154/0.4288, allocations: 187.9 kB / 1.384 GB, free: 8.008 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.001846/0.4307, allocations: 1.294 MB / 1.385 GB, free: 6.625 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001288/0.432, allocations: 0.7612 MB / 1.386 GB, free: 5.863 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.432, allocations: 0 / 1.386 GB, free: 5.863 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004025/0.4324, allocations: 224.1 kB / 1.386 GB, free: 5.645 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.4335, allocations: 198.2 kB / 1.386 GB, free: 5.453 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02735/0.4609, allocations: 22.94 MB / 1.409 GB, free: 14.27 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.4614, allocations: 415 kB / 1.409 GB, free: 13.84 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004099/0.4618, allocations: 149.4 kB / 1.409 GB, free: 13.69 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004601/0.4623, allocations: 291.3 kB / 1.409 GB, free: 13.4 MB / 1.107 GB Notification: Performance of SimCode: time 1.253e-06/0.4623, allocations: 0 / 1.409 GB, free: 13.4 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05559/0.5178, allocations: 25.24 MB / 1.434 GB, free: 4.645 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.21, allocations: 21.06 kB / 1.434 GB, free: 4.629 MB / 1.123 GB " [Timeout remaining time 287] (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.292455140966922]