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.001569/0.001569, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001802/0.001802, allocations: 207 kB / 22.99 MB, free: 4.957 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.619/1.619, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.464/3.464, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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: translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [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.002136/0.002136, allocations: 69.03 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4823, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003882/0.4862, allocations: 1.959 MB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002813/0.489, allocations: 1.313 MB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.4891, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008087/0.4899, allocations: 251.1 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.4912, allocations: 434.6 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 9.989e-06/0.4913, allocations: 0 / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005045/0.4918, allocations: 394.5 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 8.748e-05/0.4918, allocations: 20.5 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001862/0.492, allocations: 155.3 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.4923, allocations: 211.2 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.294e-05/0.4924, allocations: 20 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006777/0.493, allocations: 299.5 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004368/0.4935, allocations: 371 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.4938, allocations: 242.7 kB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.4949, allocations: 0.8637 MB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4949, allocations: 0 / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.093e-06/0.4949, allocations: 0 / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.717e-06/0.4949, allocations: 0 / 1.333 GB, free: 10.49 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.001462/0.4964, allocations: 0.8879 MB / 1.334 GB, free: 9.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.4964, allocations: 12.03 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007361/0.4972, allocations: 128.4 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.4984, allocations: 0.8621 MB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.4984, allocations: 16.31 kB / 1.335 GB, free: 8.527 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.4985, allocations: 12.38 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009162/0.4994, allocations: 0.6382 MB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4994, allocations: 0 / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.4994, allocations: 8 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.4994, allocations: 4 kB / 1.336 GB, free: 7.859 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.5009, allocations: 1.109 MB / 1.337 GB, free: 6.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/0.5039, allocations: 1.898 MB / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008643/0.5047, allocations: 340.4 kB / 1.339 GB, free: 4.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.5051, allocations: 220.8 kB / 1.339 GB, free: 4.262 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.655e-05/0.5052, allocations: 23.98 kB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.5052, allocations: 30.56 kB / 1.339 GB, free: 4.199 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.234e-06/0.5052, allocations: 8 kB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001302/0.5065, allocations: 0.6979 MB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.5066, allocations: 59.39 kB / 1.34 GB, free: 3.418 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.5092, allocations: 2.063 MB / 1.342 GB, free: 1.344 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.5092, allocations: 29.7 kB / 1.342 GB, free: 1.309 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.5095, allocations: 324.2 kB / 1.343 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.5096, allocations: 71.42 kB / 1.343 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.5097, allocations: 57.69 kB / 1.343 GB, free: 0.8516 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5099, allocations: 318 kB / 1.343 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006727/0.5106, allocations: 0.5271 MB / 1.343 GB, free: 8 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/0.5113, allocations: 0.5599 MB / 1.344 GB, free: 15.44 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.5124, allocations: 0.7757 MB / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.962e-06/0.5124, allocations: 4 kB / 1.345 GB, free: 14.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001674/0.5141, allocations: 1.2 MB / 1.346 GB, free: 13.45 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.5141, allocations: 9.969 kB / 1.346 GB, free: 13.44 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.5141, allocations: 4.031 kB / 1.346 GB, free: 13.44 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.5141, allocations: 4 kB / 1.346 GB, free: 13.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.5145, allocations: 63.89 kB / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.5145, allocations: 3.984 kB / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.5149, allocations: 35.77 kB / 1.346 GB, free: 13.33 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.515, allocations: 12 kB / 1.346 GB, free: 13.32 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.000379/0.5153, allocations: 274.2 kB / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.5155, allocations: 75.47 kB / 1.346 GB, free: 12.97 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.5165, allocations: 0.5387 MB / 1.347 GB, free: 12.42 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.5165, allocations: 4 kB / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5165, allocations: 0 / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5165, allocations: 0 / 1.347 GB, free: 12.41 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/0.5197, allocations: 2.45 MB / 1.349 GB, free: 9.867 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.5197, allocations: 7.984 kB / 1.349 GB, free: 9.859 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.52, allocations: 51.91 kB / 1.349 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/0.52, allocations: 11.94 kB / 1.349 GB, free: 9.797 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.52, allocations: 8 kB / 1.349 GB, free: 9.789 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.207e-06/0.5201, allocations: 7.984 kB / 1.349 GB, free: 9.781 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.5201, allocations: 7.938 kB / 1.349 GB, free: 9.773 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.5211, allocations: 0.6614 MB / 1.35 GB, free: 9.039 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000196/0.5213, allocations: 79.5 kB / 1.35 GB, free: 8.961 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.797e-05/0.5214, allocations: 12 kB / 1.35 GB, free: 8.949 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.5217, allocations: 23.97 kB / 1.35 GB, free: 8.926 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.5218, allocations: 27.86 kB / 1.35 GB, free: 8.898 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.5218, allocations: 11.98 kB / 1.35 GB, free: 8.887 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001796/0.5236, allocations: 1.585 MB / 1.352 GB, free: 7.309 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.5236, allocations: 0 / 1.352 GB, free: 7.309 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006998/0.5243, allocations: 175.9 kB / 1.352 GB, free: 7.137 MB / 1.045 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.0003687/0.5247, allocations: 170.9 kB / 1.352 GB, free: 6.957 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.5258, allocations: 0.769 MB / 1.353 GB, free: 6.188 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.5258, allocations: 0 / 1.353 GB, free: 6.188 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003667/0.5262, allocations: 220.9 kB / 1.353 GB, free: 5.973 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008425/0.527, allocations: 170.9 kB / 1.353 GB, free: 5.805 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.5296, allocations: 1.628 MB / 1.355 GB, free: 4.094 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.5301, allocations: 411 kB / 1.355 GB, free: 3.668 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002602/0.5304, allocations: 84.38 kB / 1.355 GB, free: 3.582 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.5305, allocations: 43.42 kB / 1.355 GB, free: 3.539 MB / 1.045 GB Notification: Performance of SimCode: time 7.42e-07/0.5305, allocations: 0 / 1.355 GB, free: 3.539 MB / 1.045 GB Notification: Performance of Templates: time 0.022/0.5525, allocations: 11.85 MB / 1.367 GB, free: 7.879 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 400] 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: 10.506644972003414]