Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.001853/0.001853, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002458/0.002458, allocations: 220.6 kB / 23.04 MB, free: 5.074 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.988 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.435/3.435, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 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.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",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.002025/0.002025, allocations: 66.92 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4141, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003577/0.4177, allocations: 2.082 MB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002438/0.4201, allocations: 1.426 MB / 1.349 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.924e-05/0.4202, allocations: 0 / 1.349 GB, free: 12.92 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000778/0.421, allocations: 287.3 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.4223, allocations: 446.5 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 8.726e-06/0.4223, allocations: 0 / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004398/0.4227, allocations: 394.5 kB / 1.35 GB, free: 11.81 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.37e-05/0.4228, allocations: 12.58 kB / 1.35 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.4229, allocations: 147.4 kB / 1.35 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002799/0.4232, allocations: 215.1 kB / 1.35 GB, free: 11.45 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.016e-05/0.4233, allocations: 20 kB / 1.35 GB, free: 11.43 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005474/0.4238, allocations: 299.6 kB / 1.351 GB, free: 11.13 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003467/0.4242, allocations: 394.8 kB / 1.351 GB, free: 10.75 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003988/0.4246, allocations: 413.7 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.4258, allocations: 1.167 MB / 1.352 GB, free: 9.168 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4258, allocations: 0 / 1.352 GB, free: 9.168 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.495e-06/0.4258, allocations: 0 / 1.352 GB, free: 9.168 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.4258, allocations: 0 / 1.352 GB, free: 9.168 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.001805/0.4276, allocations: 1.175 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.4277, allocations: 8.031 kB / 1.354 GB, free: 7.949 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.437e-05/0.4277, allocations: 4.188 kB / 1.354 GB, free: 7.945 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.916e-05/0.4278, allocations: 50.73 kB / 1.354 GB, free: 7.887 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006945/0.4284, allocations: 148.2 kB / 1.354 GB, free: 7.742 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00463/0.4331, allocations: 4.221 MB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.4331, allocations: 12.31 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.4331, allocations: 16.31 kB / 1.358 GB, free: 3.453 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009154/0.4341, allocations: 0.6378 MB / 1.359 GB, free: 2.809 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4341, allocations: 0 / 1.359 GB, free: 2.809 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.4341, allocations: 8 kB / 1.359 GB, free: 2.801 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.4341, allocations: 4 kB / 1.359 GB, free: 2.797 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.4355, allocations: 1.109 MB / 1.36 GB, free: 1.688 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003905/0.4394, allocations: 3.126 MB / 1.363 GB, free: 14.51 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008586/0.4403, allocations: 350.6 kB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003848/0.4407, allocations: 224.7 kB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-05/0.4407, allocations: 31.89 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.4408, allocations: 30.56 kB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.184e-06/0.4408, allocations: 0 / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001358/0.4421, allocations: 0.7223 MB / 1.364 GB, free: 13.14 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.4422, allocations: 55.41 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007965/0.4502, allocations: 6.501 MB / 1.37 GB, free: 6.555 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.355e-05/0.4502, allocations: 29.7 kB / 1.37 GB, free: 6.52 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004641/0.4507, allocations: 412.5 kB / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.4508, allocations: 71.42 kB / 1.371 GB, free: 6.043 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.451, allocations: 61.64 kB / 1.371 GB, free: 5.977 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4512, allocations: 318 kB / 1.371 GB, free: 5.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007323/0.4519, allocations: 0.5232 MB / 1.372 GB, free: 5.137 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007485/0.4526, allocations: 0.56 MB / 1.372 GB, free: 4.57 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.4537, allocations: 0.7675 MB / 1.373 GB, free: 3.797 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4537, allocations: 0 / 1.373 GB, free: 3.797 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002045/0.4558, allocations: 1.231 MB / 1.374 GB, free: 2.559 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.4558, allocations: 9.875 kB / 1.374 GB, free: 2.551 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.4558, allocations: 0 / 1.374 GB, free: 2.551 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.4558, allocations: 4.031 kB / 1.374 GB, free: 2.547 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.4562, allocations: 63.89 kB / 1.374 GB, free: 2.484 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.4562, allocations: 4 kB / 1.374 GB, free: 2.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005645/0.4568, allocations: 47.75 kB / 1.374 GB, free: 2.434 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-05/0.4568, allocations: 12 kB / 1.374 GB, free: 2.422 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.0004777/0.4573, allocations: 281.6 kB / 1.375 GB, free: 2.137 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.4575, allocations: 99.31 kB / 1.375 GB, free: 2.039 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.4585, allocations: 0.5528 MB / 1.375 GB, free: 1.473 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4585, allocations: 4 kB / 1.375 GB, free: 1.469 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.4585, allocations: 3.984 kB / 1.375 GB, free: 1.465 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4585, allocations: 0 / 1.375 GB, free: 1.465 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003578/0.4621, allocations: 2.79 MB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.4621, allocations: 4 kB / 1.378 GB, free: 14.56 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.4623, allocations: 51.91 kB / 1.378 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.4624, allocations: 4 kB / 1.378 GB, free: 14.51 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.4624, allocations: 11.98 kB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.675e-05/0.4624, allocations: 11.94 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.4624, allocations: 4 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.4635, allocations: 0.6928 MB / 1.379 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/0.4639, allocations: 179.2 kB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.464, allocations: 12 kB / 1.379 GB, free: 13.53 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.4644, allocations: 31.97 kB / 1.379 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/0.4644, allocations: 27.86 kB / 1.379 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.4644, allocations: 11.98 kB / 1.379 GB, free: 13.46 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.005336/0.4698, allocations: 5.157 MB / 1.384 GB, free: 8.289 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4698, allocations: 0 / 1.384 GB, free: 8.289 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008939/0.4707, allocations: 187.9 kB / 1.384 GB, free: 8.105 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.001786/0.4725, allocations: 1.288 MB / 1.386 GB, free: 6.73 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.4736, allocations: 0.7651 MB / 1.386 GB, free: 5.965 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.4736, allocations: 4 kB / 1.386 GB, free: 5.961 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004627/0.4741, allocations: 220.9 kB / 1.386 GB, free: 5.746 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.4752, allocations: 200.1 kB / 1.387 GB, free: 5.551 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02897/0.5041, allocations: 22.95 MB / 1.409 GB, free: 14.36 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008885/0.505, allocations: 1.003 MB / 1.41 GB, free: 13.33 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0005516/0.5056, allocations: 145.4 kB / 1.41 GB, free: 13.18 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005766/0.5061, allocations: 299.3 kB / 1.41 GB, free: 12.89 MB / 1.107 GB Notification: Performance of SimCode: time 1.092e-06/0.5061, allocations: 0 / 1.41 GB, free: 12.89 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06957/0.5757, allocations: 24.09 MB / 1.434 GB, free: 5.082 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.86/13.44, allocations: 14.23 kB / 1.434 GB, free: 5.074 MB / 1.123 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.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.990102448966354]