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.001367/0.001367, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001863/0.001863, allocations: 211.7 kB / 22.24 MB, free: 5.242 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.801 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.265/3.265, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 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.002147/0.002147, allocations: 67.28 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3933, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.004339/0.3976, allocations: 1.95 MB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00272/0.4003, allocations: 1.309 MB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.4005, allocations: 0 / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008803/0.4014, allocations: 243.3 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.4027, allocations: 438.6 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 1.26e-05/0.4027, allocations: 0 / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004914/0.4032, allocations: 398.5 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.456e-05/0.4032, allocations: 16.58 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.4034, allocations: 139.4 kB / 1.368 GB, free: 9.535 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.4037, allocations: 203.1 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.4038, allocations: 24 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.4044, allocations: 287.5 kB / 1.368 GB, free: 9.031 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003723/0.4048, allocations: 390.9 kB / 1.369 GB, free: 8.648 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004222/0.4052, allocations: 334.2 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.4065, allocations: 1.175 MB / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4065, allocations: 0 / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4065, allocations: 0 / 1.37 GB, free: 7.141 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.4065, allocations: 3.938 kB / 1.37 GB, free: 7.137 MB / 1.061 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.002035/0.4086, allocations: 1.175 MB / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4086, allocations: 16.03 kB / 1.371 GB, free: 5.91 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.428e-05/0.4087, allocations: 50.73 kB / 1.371 GB, free: 5.852 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006891/0.4094, allocations: 148.2 kB / 1.371 GB, free: 5.707 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004518/0.4139, allocations: 4.221 MB / 1.376 GB, free: 1.445 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.4139, allocations: 12.38 kB / 1.376 GB, free: 1.434 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.4139, allocations: 12.38 kB / 1.376 GB, free: 1.422 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000894/0.4148, allocations: 0.6419 MB / 1.376 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4149, allocations: 0 / 1.376 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.4149, allocations: 4 kB / 1.376 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.4149, allocations: 8 kB / 1.376 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001414/0.4163, allocations: 1.101 MB / 1.377 GB, free: 15.66 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003876/0.4202, allocations: 3.01 MB / 1.38 GB, free: 12.6 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008327/0.421, allocations: 330.7 kB / 1.381 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003802/0.4214, allocations: 221.1 kB / 1.381 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.213e-05/0.4214, allocations: 31.88 kB / 1.381 GB, free: 12.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.4215, allocations: 38.56 kB / 1.381 GB, free: 11.97 MB / 1.076 GB Notification: Performance of pre-optimization done (n=19): time 2.225e-06/0.4215, allocations: 0 / 1.381 GB, free: 11.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.00139/0.4229, allocations: 0.7207 MB / 1.382 GB, free: 11.25 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.4229, allocations: 55.41 kB / 1.382 GB, free: 11.18 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008176/0.4311, allocations: 6.497 MB / 1.388 GB, free: 4.66 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.063e-05/0.4312, allocations: 25.7 kB / 1.388 GB, free: 4.629 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004347/0.4316, allocations: 428.4 kB / 1.388 GB, free: 4.207 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.4317, allocations: 67.42 kB / 1.388 GB, free: 4.141 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/0.4319, allocations: 57.69 kB / 1.388 GB, free: 4.078 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.432, allocations: 314 kB / 1.389 GB, free: 3.766 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007386/0.4327, allocations: 0.531 MB / 1.389 GB, free: 3.234 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007325/0.4335, allocations: 0.5566 MB / 1.39 GB, free: 2.672 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.4346, allocations: 0.7669 MB / 1.391 GB, free: 1.898 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.319e-06/0.4346, allocations: 0 / 1.391 GB, free: 1.898 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001889/0.4364, allocations: 1.231 MB / 1.392 GB, free: 0.6602 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.4365, allocations: 7.984 kB / 1.392 GB, free: 0.6523 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4365, allocations: 4.031 kB / 1.392 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.537e-05/0.4365, allocations: 7.938 kB / 1.392 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.4369, allocations: 71.83 kB / 1.392 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.4369, allocations: 0 / 1.392 GB, free: 0.5703 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000638/0.4376, allocations: 39.83 kB / 1.392 GB, free: 0.5312 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.702e-05/0.4376, allocations: 8 kB / 1.392 GB, free: 0.5234 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.0004492/0.438, allocations: 282.7 kB / 1.392 GB, free: 244 kB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003159/0.4384, allocations: 95.33 kB / 1.392 GB, free: 148 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/0.4395, allocations: 0.5623 MB / 1.393 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4396, allocations: 3.938 kB / 1.393 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.4396, allocations: 4 kB / 1.393 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.4396, allocations: 0 / 1.393 GB, free: 15.57 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004336/0.4439, allocations: 2.673 MB / 1.395 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.4439, allocations: 7.938 kB / 1.395 GB, free: 12.78 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.4442, allocations: 51.95 kB / 1.396 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.949e-06/0.4442, allocations: 4 kB / 1.396 GB, free: 12.72 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.4442, allocations: 8 kB / 1.396 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.4442, allocations: 7.938 kB / 1.396 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.4442, allocations: 8 kB / 1.396 GB, free: 12.7 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.4455, allocations: 0.6941 MB / 1.396 GB, free: 11.93 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/0.446, allocations: 191.2 kB / 1.396 GB, free: 11.75 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.4462, allocations: 11.98 kB / 1.396 GB, free: 11.73 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/0.4466, allocations: 27.98 kB / 1.396 GB, free: 11.71 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.4467, allocations: 23.86 kB / 1.396 GB, free: 11.68 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.4467, allocations: 15.98 kB / 1.396 GB, free: 11.67 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.005496/0.4522, allocations: 5.157 MB / 1.402 GB, free: 6.5 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4522, allocations: 0 / 1.402 GB, free: 6.5 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007655/0.453, allocations: 191.9 kB / 1.402 GB, free: 6.312 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.001774/0.4547, allocations: 1.287 MB / 1.403 GB, free: 4.938 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.456, allocations: 0.7614 MB / 1.404 GB, free: 4.176 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.456, allocations: 0 / 1.404 GB, free: 4.176 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0004103/0.4564, allocations: 224.1 kB / 1.404 GB, free: 3.957 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.4574, allocations: 193.5 kB / 1.404 GB, free: 3.766 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02841/0.4858, allocations: 22.93 MB / 1.427 GB, free: 12.59 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.4864, allocations: 415.4 kB / 1.427 GB, free: 12.16 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005805/0.487, allocations: 145.4 kB / 1.427 GB, free: 12.01 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005959/0.4876, allocations: 295.3 kB / 1.427 GB, free: 11.72 MB / 1.123 GB Notification: Performance of SimCode: time 1.824e-06/0.4876, allocations: 0 / 1.427 GB, free: 11.72 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07192/0.5595, allocations: 25.68 MB / 1.452 GB, free: 2.383 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.44, allocations: 6.469 kB / 1.452 GB, free: 2.379 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: 19.36890286486596]