Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001751/0.001751, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002588/0.002588, allocations: 218.8 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.216/3.216, allocations: 0.49 GB / 0.7959 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,fileNamePrefix="Buildings_12_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.002006/0.002006, allocations: 63.81 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3522, allocations: 176.1 MB / 1.327 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003427/0.3556, allocations: 2.095 MB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002473/0.3581, allocations: 1.426 MB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.3582, allocations: 3.938 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007121/0.3589, allocations: 287.3 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.36, allocations: 442.5 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.784e-06/0.36, allocations: 0 / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000439/0.3604, allocations: 394.5 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.119e-05/0.3605, allocations: 12.59 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.3607, allocations: 147.4 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.361, allocations: 215.1 kB / 1.332 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.361, allocations: 24 kB / 1.332 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005595/0.3615, allocations: 299.6 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003571/0.3619, allocations: 398.8 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003905/0.3623, allocations: 413.7 kB / 1.333 GB, free: 11.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.3635, allocations: 1.163 MB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3635, allocations: 0 / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3635, allocations: 0 / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.3635, allocations: 0 / 1.334 GB, free: 10.67 MB / 1.029 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.001788/0.3653, allocations: 1.168 MB / 1.335 GB, free: 9.469 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3654, allocations: 8.031 kB / 1.335 GB, free: 9.461 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.148e-05/0.3654, allocations: 12.12 kB / 1.335 GB, free: 9.449 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.735e-05/0.3655, allocations: 50.73 kB / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006648/0.3661, allocations: 156.2 kB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00447/0.3706, allocations: 4.217 MB / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.3706, allocations: 12.38 kB / 1.339 GB, free: 4.969 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.3707, allocations: 12.38 kB / 1.339 GB, free: 4.957 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009137/0.3716, allocations: 0.6417 MB / 1.34 GB, free: 4.309 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3716, allocations: 4 kB / 1.34 GB, free: 4.305 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.3716, allocations: 4 kB / 1.34 GB, free: 4.301 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3716, allocations: 4 kB / 1.34 GB, free: 4.297 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.373, allocations: 1.101 MB / 1.341 GB, free: 3.195 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003868/0.3768, allocations: 3.13 MB / 1.344 GB, free: 20 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008305/0.3777, allocations: 342.6 kB / 1.344 GB, free: 15.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.3781, allocations: 228.7 kB / 1.345 GB, free: 15.45 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.775e-05/0.3781, allocations: 19.98 kB / 1.345 GB, free: 15.43 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.3781, allocations: 34.56 kB / 1.345 GB, free: 15.39 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 1.783e-06/0.3781, allocations: 0 / 1.345 GB, free: 15.39 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001367/0.3795, allocations: 0.7211 MB / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.3795, allocations: 59.41 kB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007686/0.3872, allocations: 6.493 MB / 1.352 GB, free: 8.074 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.479e-05/0.3873, allocations: 33.7 kB / 1.352 GB, free: 8.035 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/0.3877, allocations: 416.4 kB / 1.352 GB, free: 7.625 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.3878, allocations: 67.44 kB / 1.352 GB, free: 7.559 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.3879, allocations: 57.69 kB / 1.352 GB, free: 7.496 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.388, allocations: 322 kB / 1.353 GB, free: 7.176 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/0.3887, allocations: 0.5271 MB / 1.353 GB, free: 6.648 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/0.3894, allocations: 0.5522 MB / 1.354 GB, free: 6.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009999/0.3904, allocations: 0.7719 MB / 1.354 GB, free: 5.312 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3904, allocations: 0 / 1.354 GB, free: 5.312 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00178/0.3922, allocations: 1.235 MB / 1.356 GB, free: 4.07 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3922, allocations: 4 kB / 1.356 GB, free: 4.066 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3922, allocations: 4 kB / 1.356 GB, free: 4.062 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3922, allocations: 3.984 kB / 1.356 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.3926, allocations: 67.89 kB / 1.356 GB, free: 3.992 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.3926, allocations: 4 kB / 1.356 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.393, allocations: 39.77 kB / 1.356 GB, free: 3.949 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.393, allocations: 8 kB / 1.356 GB, free: 3.941 MB / 1.045 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.0003483/0.3934, allocations: 294.2 kB / 1.356 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.3936, allocations: 95.33 kB / 1.356 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000977/0.3945, allocations: 0.5583 MB / 1.357 GB, free: 2.98 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.3945, allocations: 8 kB / 1.357 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3945, allocations: 0 / 1.357 GB, free: 2.973 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3945, allocations: 3.938 kB / 1.357 GB, free: 2.969 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/0.398, allocations: 2.782 MB / 1.359 GB, free: 80 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.398, allocations: 4 kB / 1.359 GB, free: 76 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.3982, allocations: 51.89 kB / 1.359 GB, free: 24 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.3982, allocations: 4 kB / 1.359 GB, free: 20 kB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/0.3983, allocations: 12.44 kB / 1.359 GB, free: 8 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/0.3983, allocations: 7.938 kB / 1.359 GB, free: 0 / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.3983, allocations: 12.05 kB / 1.359 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.3993, allocations: 0.6836 MB / 1.36 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.3996, allocations: 183.2 kB / 1.36 GB, free: 15.05 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.3997, allocations: 15.98 kB / 1.36 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.4001, allocations: 23.98 kB / 1.36 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.4002, allocations: 27.86 kB / 1.36 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.4002, allocations: 15.98 kB / 1.36 GB, free: 14.96 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.005363/0.4056, allocations: 5.153 MB / 1.365 GB, free: 9.801 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4056, allocations: 0 / 1.365 GB, free: 9.801 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007689/0.4063, allocations: 191.9 kB / 1.366 GB, free: 9.613 MB / 1.061 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.001704/0.408, allocations: 1.284 MB / 1.367 GB, free: 8.242 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001159/0.4092, allocations: 0.769 MB / 1.368 GB, free: 7.473 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4092, allocations: 4 kB / 1.368 GB, free: 7.469 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003719/0.4096, allocations: 224.3 kB / 1.368 GB, free: 7.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009396/0.4105, allocations: 194.9 kB / 1.368 GB, free: 7.059 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02682/0.4373, allocations: 22.94 MB / 1.39 GB, free: 15.88 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007737/0.4381, allocations: 1.003 MB / 1.391 GB, free: 14.85 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004675/0.4386, allocations: 153.3 kB / 1.392 GB, free: 14.7 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005219/0.4391, allocations: 295.3 kB / 1.392 GB, free: 14.41 MB / 1.092 GB Notification: Performance of SimCode: time 1.543e-06/0.4391, allocations: 0 / 1.392 GB, free: 14.41 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07815/0.5173, allocations: 24.09 MB / 1.415 GB, free: 6.602 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.17, allocations: 20.88 kB / 1.415 GB, free: 6.586 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.fmu > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.09616051398916]