Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001878/0.001878, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002205/0.002205, allocations: 212.8 kB / 22.24 MB, free: 5.262 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.645/1.645, allocations: 230.6 MB / 256 MB, free: 7.793 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.904/3.904, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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: translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [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.003096/0.003096, allocations: 75.36 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.582/0.585, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.004105/0.5892, allocations: 2.074 MB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002767/0.5919, allocations: 1.305 MB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.592, allocations: 4 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000797/0.5928, allocations: 235.1 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.5941, allocations: 450.5 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 8.916e-06/0.5941, allocations: 0 / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004584/0.5945, allocations: 394.5 kB / 1.368 GB, free: 9.121 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.367e-05/0.5946, allocations: 8.594 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.5948, allocations: 147.4 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.5951, allocations: 199.1 kB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.5951, allocations: 20 kB / 1.369 GB, free: 8.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006267/0.5957, allocations: 283.6 kB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004587/0.5962, allocations: 379 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002968/0.5965, allocations: 242.7 kB / 1.369 GB, free: 7.863 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.5976, allocations: 0.8559 MB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.5977, allocations: 8 kB / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5977, allocations: 0 / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.5977, allocations: 0 / 1.37 GB, free: 6.996 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.001492/0.5992, allocations: 0.8879 MB / 1.371 GB, free: 6.074 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.5992, allocations: 8.031 kB / 1.371 GB, free: 6.066 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006202/0.5998, allocations: 128.4 kB / 1.371 GB, free: 5.941 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/0.601, allocations: 0.8698 MB / 1.372 GB, free: 5.043 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.6011, allocations: 16.38 kB / 1.372 GB, free: 5.027 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.6011, allocations: 12.38 kB / 1.372 GB, free: 5.016 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009525/0.6021, allocations: 0.6382 MB / 1.373 GB, free: 4.371 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.6021, allocations: 0 / 1.373 GB, free: 4.371 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.6021, allocations: 8 kB / 1.373 GB, free: 4.363 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.6021, allocations: 4 kB / 1.373 GB, free: 4.359 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.6035, allocations: 1.101 MB / 1.374 GB, free: 3.258 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.6065, allocations: 1.91 MB / 1.376 GB, free: 1.312 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008178/0.6073, allocations: 326.7 kB / 1.376 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/0.6077, allocations: 224.7 kB / 1.376 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.729e-05/0.6077, allocations: 23.98 kB / 1.376 GB, free: 0.7383 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.6078, allocations: 34.56 kB / 1.376 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of pre-optimization done (n=19): time 2.154e-06/0.6078, allocations: 4 kB / 1.376 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of matching and sorting (n=19): time 0.001356/0.6091, allocations: 0.6983 MB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/0.6092, allocations: 59.34 kB / 1.377 GB, free: 15.91 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002641/0.6118, allocations: 2.063 MB / 1.379 GB, free: 13.85 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.6119, allocations: 33.7 kB / 1.379 GB, free: 13.81 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.6122, allocations: 320.2 kB / 1.379 GB, free: 13.49 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/0.6123, allocations: 71.42 kB / 1.379 GB, free: 13.42 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001331/0.6124, allocations: 57.66 kB / 1.38 GB, free: 13.36 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.6126, allocations: 321.9 kB / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007052/0.6133, allocations: 0.5271 MB / 1.38 GB, free: 12.51 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007264/0.614, allocations: 0.5644 MB / 1.381 GB, free: 11.94 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.615, allocations: 0.7553 MB / 1.382 GB, free: 11.18 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/0.615, allocations: 7.984 kB / 1.382 GB, free: 11.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001642/0.6167, allocations: 1.208 MB / 1.383 GB, free: 9.957 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.6167, allocations: 7.938 kB / 1.383 GB, free: 9.949 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.6167, allocations: 0 / 1.383 GB, free: 9.949 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.6167, allocations: 4 kB / 1.383 GB, free: 9.945 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.6171, allocations: 63.89 kB / 1.383 GB, free: 9.883 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.6171, allocations: 0 / 1.383 GB, free: 9.883 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003502/0.6174, allocations: 35.77 kB / 1.383 GB, free: 9.848 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.6175, allocations: 16.02 kB / 1.383 GB, free: 9.832 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.0003139/0.6178, allocations: 274.8 kB / 1.383 GB, free: 9.555 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.6179, allocations: 71.52 kB / 1.383 GB, free: 9.484 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009475/0.6188, allocations: 0.5335 MB / 1.384 GB, free: 8.941 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.6188, allocations: 11.98 kB / 1.384 GB, free: 8.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.6188, allocations: 3.938 kB / 1.384 GB, free: 8.926 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6188, allocations: 0 / 1.384 GB, free: 8.926 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003238/0.6221, allocations: 2.453 MB / 1.386 GB, free: 6.375 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.6221, allocations: 7.984 kB / 1.386 GB, free: 6.367 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.6223, allocations: 51.89 kB / 1.386 GB, free: 6.316 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.301e-05/0.6223, allocations: 11.94 kB / 1.386 GB, free: 6.305 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/0.6224, allocations: 12.44 kB / 1.386 GB, free: 6.293 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.6224, allocations: 7.938 kB / 1.386 GB, free: 6.285 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.6224, allocations: 8 kB / 1.386 GB, free: 6.277 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.6234, allocations: 0.6522 MB / 1.387 GB, free: 5.551 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.6236, allocations: 83.48 kB / 1.387 GB, free: 5.469 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.913e-05/0.6237, allocations: 15.94 kB / 1.387 GB, free: 5.453 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.624, allocations: 27.92 kB / 1.387 GB, free: 5.426 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.6241, allocations: 23.91 kB / 1.387 GB, free: 5.402 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.6241, allocations: 12 kB / 1.387 GB, free: 5.391 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001787/0.6259, allocations: 1.588 MB / 1.389 GB, free: 3.809 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.6259, allocations: 0 / 1.389 GB, free: 3.809 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006275/0.6265, allocations: 175.8 kB / 1.389 GB, free: 3.637 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.0003498/0.6269, allocations: 159 kB / 1.389 GB, free: 3.469 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001157/0.628, allocations: 0.7731 MB / 1.39 GB, free: 2.695 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.628, allocations: 0 / 1.39 GB, free: 2.695 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.6284, allocations: 232.5 kB / 1.39 GB, free: 2.469 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008272/0.6292, allocations: 168.7 kB / 1.39 GB, free: 2.305 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.6318, allocations: 1.628 MB / 1.392 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.6322, allocations: 407.1 kB / 1.392 GB, free: 172 kB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002431/0.6325, allocations: 88.38 kB / 1.392 GB, free: 80 kB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.6326, allocations: 39.44 kB / 1.392 GB, free: 40 kB / 1.076 GB Notification: Performance of SimCode: time 3.91e-07/0.6326, allocations: 4 kB / 1.392 GB, free: 36 kB / 1.076 GB Notification: Performance of Templates: time 0.02007/0.6527, allocations: 11.76 MB / 1.404 GB, free: 4.465 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.111309688538313]