Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001774/0.001774, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002302/0.002302, allocations: 215.2 kB / 22.26 MB, free: 5.078 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.62/1.62, allocations: 230.6 MB / 256 MB, free: 8.055 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.489/3.489, allocations: 0.49 GB / 0.7951 GB, free: 33.42 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.WetFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid",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.002096/0.002096, allocations: 68.52 kB / 1.154 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3593, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.003639/0.3629, allocations: 2.223 MB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002398/0.3653, allocations: 1.43 MB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.3654, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006802/0.3661, allocations: 291.2 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.3671, allocations: 438.5 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.195e-06/0.3671, allocations: 4 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004291/0.3675, allocations: 394.5 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.689e-05/0.3676, allocations: 12.58 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.3677, allocations: 147.3 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002662/0.368, allocations: 219.1 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.368, allocations: 20 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005478/0.3686, allocations: 295.6 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003371/0.3689, allocations: 394.9 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000379/0.3693, allocations: 413.7 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.3705, allocations: 1.167 MB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3706, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3706, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.3706, allocations: 0 / 1.333 GB, free: 10.54 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.001815/0.3724, allocations: 1.168 MB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.623e-05/0.3725, allocations: 8.031 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.25e-05/0.3725, allocations: 50.73 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000638/0.3732, allocations: 156.2 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004378/0.3775, allocations: 4.213 MB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.3776, allocations: 12.38 kB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.3776, allocations: 12.38 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008518/0.3784, allocations: 0.6419 MB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3785, allocations: 0 / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.3785, allocations: 4 kB / 1.339 GB, free: 4.188 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.3785, allocations: 4 kB / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.3798, allocations: 1.109 MB / 1.34 GB, free: 3.074 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003732/0.3835, allocations: 3.126 MB / 1.343 GB, free: 15.9 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007675/0.3843, allocations: 334.7 kB / 1.344 GB, free: 15.57 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003718/0.3847, allocations: 230.4 kB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-05/0.3847, allocations: 27.92 kB / 1.344 GB, free: 15.31 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.3848, allocations: 34.56 kB / 1.344 GB, free: 15.27 MB / 1.045 GB Notification: Performance of pre-optimization done (n=19): time 1.873e-06/0.3848, allocations: 0 / 1.344 GB, free: 15.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=19): time 0.001288/0.3861, allocations: 0.7159 MB / 1.345 GB, free: 14.55 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.3861, allocations: 59.39 kB / 1.345 GB, free: 14.48 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008232/0.3943, allocations: 6.497 MB / 1.351 GB, free: 7.957 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.3944, allocations: 29.7 kB / 1.351 GB, free: 7.922 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000438/0.3948, allocations: 424.4 kB / 1.352 GB, free: 7.504 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/0.3949, allocations: 63.44 kB / 1.352 GB, free: 7.441 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.395, allocations: 53.69 kB / 1.352 GB, free: 7.383 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3952, allocations: 318 kB / 1.352 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006534/0.3958, allocations: 0.5349 MB / 1.352 GB, free: 6.531 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006744/0.3965, allocations: 0.5522 MB / 1.353 GB, free: 5.973 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009825/0.3975, allocations: 0.7679 MB / 1.354 GB, free: 5.199 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.3975, allocations: 8 kB / 1.354 GB, free: 5.191 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001581/0.3991, allocations: 1.227 MB / 1.355 GB, free: 3.957 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.3991, allocations: 4 kB / 1.355 GB, free: 3.953 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3991, allocations: 7.984 kB / 1.355 GB, free: 3.945 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3991, allocations: 0 / 1.355 GB, free: 3.945 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.3995, allocations: 63.95 kB / 1.355 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.3995, allocations: 12.02 kB / 1.355 GB, free: 3.871 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.3999, allocations: 47.7 kB / 1.355 GB, free: 3.824 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.3999, allocations: 7.938 kB / 1.355 GB, free: 3.816 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.0003591/0.4003, allocations: 282.2 kB / 1.355 GB, free: 3.531 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.4004, allocations: 99.33 kB / 1.355 GB, free: 3.434 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009446/0.4014, allocations: 0.5659 MB / 1.356 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.4014, allocations: 4 kB / 1.356 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4014, allocations: 0 / 1.356 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4014, allocations: 0 / 1.356 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003484/0.4049, allocations: 2.79 MB / 1.359 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.4049, allocations: 4.594 kB / 1.359 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.4051, allocations: 55.89 kB / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.4051, allocations: 4 kB / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.4052, allocations: 12 kB / 1.359 GB, free: 15.88 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-06/0.4052, allocations: 8 kB / 1.359 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.4052, allocations: 7.938 kB / 1.359 GB, free: 15.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009837/0.4062, allocations: 0.6821 MB / 1.359 GB, free: 15.11 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003107/0.4065, allocations: 183.2 kB / 1.36 GB, free: 14.93 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.4066, allocations: 15.98 kB / 1.36 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/0.407, allocations: 23.98 kB / 1.36 GB, free: 14.89 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.066e-05/0.407, allocations: 27.86 kB / 1.36 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.407, allocations: 19.92 kB / 1.36 GB, free: 14.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.005053/0.4121, allocations: 5.153 MB / 1.365 GB, free: 9.676 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4121, allocations: 0 / 1.365 GB, free: 9.676 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006231/0.4127, allocations: 187.9 kB / 1.365 GB, free: 9.492 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.001521/0.4142, allocations: 1.29 MB / 1.366 GB, free: 8.117 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001096/0.4153, allocations: 0.7651 MB / 1.367 GB, free: 7.352 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4153, allocations: 4.062 kB / 1.367 GB, free: 7.348 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.4157, allocations: 227.6 kB / 1.367 GB, free: 7.125 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008996/0.4166, allocations: 193.2 kB / 1.367 GB, free: 6.934 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02612/0.4427, allocations: 22.93 MB / 1.39 GB, free: 15.77 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/0.4434, allocations: 1.007 MB / 1.391 GB, free: 14.74 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004867/0.4439, allocations: 149.4 kB / 1.391 GB, free: 14.59 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005199/0.4444, allocations: 295.3 kB / 1.391 GB, free: 14.3 MB / 1.092 GB Notification: Performance of SimCode: time 1.062e-06/0.4444, allocations: 0 / 1.391 GB, free: 14.3 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06591/0.5103, allocations: 24.07 MB / 1.415 GB, free: 6.504 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/13.15, allocations: 16.05 kB / 1.415 GB, free: 6.488 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.fmu > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.470767829101533]