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.001283/0.001283, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002494/0.002494, allocations: 219.6 kB / 22.26 MB, free: 5.117 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.65/1.65, 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.333/3.333, allocations: 0.505 GB / 0.8101 GB, free: 22 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",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.002111/0.002111, allocations: 62.88 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3774, allocations: 180.2 MB / 1.353 GB, free: 8.449 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003705/0.3812, allocations: 2.101 MB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002611/0.3838, allocations: 1.419 MB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.3839, allocations: 0 / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000776/0.3847, allocations: 287.3 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001228/0.3859, allocations: 442.6 kB / 1.357 GB, free: 4.191 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 1.554e-05/0.386, allocations: 0 / 1.357 GB, free: 4.191 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005242/0.3865, allocations: 390.5 kB / 1.357 GB, free: 3.809 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.098e-05/0.3866, allocations: 24.5 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.3868, allocations: 143.4 kB / 1.358 GB, free: 3.645 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.3871, allocations: 215.1 kB / 1.358 GB, free: 3.434 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.865e-05/0.3872, allocations: 24 kB / 1.358 GB, free: 3.41 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006013/0.3878, allocations: 303.5 kB / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003744/0.3881, allocations: 394.9 kB / 1.358 GB, free: 2.727 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005056/0.3886, allocations: 413.7 kB / 1.359 GB, free: 2.32 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.39, allocations: 1.159 MB / 1.36 GB, free: 1.156 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.39, allocations: 0 / 1.36 GB, free: 1.156 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.262e-06/0.39, allocations: 0 / 1.36 GB, free: 1.156 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.932e-05/0.39, allocations: 3.984 kB / 1.36 GB, free: 1.152 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.002268/0.3923, allocations: 1.173 MB / 1.361 GB, free: 15.95 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3923, allocations: 8.031 kB / 1.361 GB, free: 15.94 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.674e-05/0.3924, allocations: 54.73 kB / 1.361 GB, free: 15.88 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007116/0.3931, allocations: 152.2 kB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004466/0.3976, allocations: 4.213 MB / 1.365 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.3976, allocations: 12.38 kB / 1.365 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.3977, allocations: 12.38 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008828/0.3985, allocations: 0.641 MB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3986, allocations: 0 / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.3986, allocations: 4 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.3986, allocations: 4 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.3999, allocations: 1.109 MB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004028/0.404, allocations: 3.138 MB / 1.37 GB, free: 6.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008075/0.4048, allocations: 345.1 kB / 1.371 GB, free: 6.156 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003696/0.4051, allocations: 224.8 kB / 1.371 GB, free: 5.934 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-05/0.4052, allocations: 19.98 kB / 1.371 GB, free: 5.914 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.4052, allocations: 34.56 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.715e-06/0.4052, allocations: 0 / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001383/0.4066, allocations: 0.7218 MB / 1.372 GB, free: 5.145 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.4067, allocations: 55.41 kB / 1.372 GB, free: 5.078 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008072/0.4147, allocations: 6.497 MB / 1.378 GB, free: 14.55 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.4148, allocations: 29.7 kB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/0.4152, allocations: 420.4 kB / 1.378 GB, free: 14.11 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.4153, allocations: 67.42 kB / 1.378 GB, free: 14.04 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.4154, allocations: 57.69 kB / 1.378 GB, free: 13.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.4156, allocations: 317.9 kB / 1.379 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007326/0.4163, allocations: 0.5309 MB / 1.379 GB, free: 13.13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007177/0.417, allocations: 0.5522 MB / 1.38 GB, free: 12.57 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.4181, allocations: 0.7791 MB / 1.381 GB, free: 11.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4181, allocations: 0 / 1.381 GB, free: 11.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001828/0.4199, allocations: 1.223 MB / 1.382 GB, free: 10.56 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.42, allocations: 8.031 kB / 1.382 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.42, allocations: 4 kB / 1.382 GB, free: 10.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.42, allocations: 3.938 kB / 1.382 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.4203, allocations: 71.89 kB / 1.382 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.4204, allocations: 4 kB / 1.382 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005108/0.4209, allocations: 43.75 kB / 1.382 GB, free: 10.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.4209, allocations: 8 kB / 1.382 GB, free: 10.42 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.00039/0.4213, allocations: 293.5 kB / 1.382 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.4215, allocations: 91.39 kB / 1.382 GB, free: 10.03 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.4226, allocations: 0.5566 MB / 1.383 GB, free: 9.465 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4226, allocations: 4 kB / 1.383 GB, free: 9.461 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.4226, allocations: 4 kB / 1.383 GB, free: 9.457 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.4226, allocations: 3.984 kB / 1.383 GB, free: 9.453 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/0.4264, allocations: 2.786 MB / 1.386 GB, free: 6.559 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.4264, allocations: 4 kB / 1.386 GB, free: 6.555 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.4267, allocations: 47.91 kB / 1.386 GB, free: 6.508 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.158e-06/0.4267, allocations: 4 kB / 1.386 GB, free: 6.504 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.4267, allocations: 15.98 kB / 1.386 GB, free: 6.488 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.4267, allocations: 4 kB / 1.386 GB, free: 6.484 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.4268, allocations: 12.28 kB / 1.386 GB, free: 6.473 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.4279, allocations: 0.6816 MB / 1.386 GB, free: 5.719 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.4283, allocations: 187.2 kB / 1.386 GB, free: 5.535 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.4285, allocations: 12 kB / 1.387 GB, free: 5.523 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.4289, allocations: 23.98 kB / 1.387 GB, free: 5.5 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.429, allocations: 31.84 kB / 1.387 GB, free: 5.469 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.429, allocations: 8 kB / 1.387 GB, free: 5.461 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.005444/0.4344, allocations: 5.16 MB / 1.392 GB, free: 296 kB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4344, allocations: 0 / 1.392 GB, free: 296 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008361/0.4353, allocations: 183.9 kB / 1.392 GB, free: 112 kB / 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.001843/0.4371, allocations: 1.29 MB / 1.393 GB, free: 14.73 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.4383, allocations: 0.7651 MB / 1.394 GB, free: 13.96 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4383, allocations: 0 / 1.394 GB, free: 13.96 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.4386, allocations: 228.6 kB / 1.394 GB, free: 13.74 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4397, allocations: 202.5 kB / 1.394 GB, free: 13.54 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02695/0.4666, allocations: 22.95 MB / 1.417 GB, free: 6.352 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007205/0.4674, allocations: 0.9956 MB / 1.418 GB, free: 5.328 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004593/0.4678, allocations: 149.4 kB / 1.418 GB, free: 5.18 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.4683, allocations: 299.3 kB / 1.418 GB, free: 4.887 MB / 1.107 GB Notification: Performance of SimCode: time 8.21e-07/0.4683, allocations: 0 / 1.418 GB, free: 4.887 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06568/0.5339, allocations: 24.06 MB / 1.442 GB, free: 13.09 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.07, allocations: 11.92 kB / 1.442 GB, free: 13.08 MB / 1.139 GB " [Timeout remaining time 287] (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.26029256801121]