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.001428/0.001428, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001696/0.001696, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.669/1.669, 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 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.659/3.659, allocations: 0.4892 GB / 0.7943 GB, free: 35.57 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.002133/0.002133, allocations: 75.8 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5088, allocations: 176.1 MB / 1.326 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003935/0.5128, allocations: 1.956 MB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003005/0.5158, allocations: 1.305 MB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.5159, allocations: 4 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007404/0.5166, allocations: 243.1 kB / 1.329 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001087/0.5177, allocations: 447.7 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.777e-06/0.5177, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004673/0.5182, allocations: 394.5 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.5183, allocations: 12.59 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.5184, allocations: 147.4 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.5187, allocations: 195.1 kB / 1.33 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.5188, allocations: 24 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000614/0.5194, allocations: 283.6 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004013/0.5198, allocations: 371 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.5201, allocations: 246.6 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.5213, allocations: 0.8598 MB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.5213, allocations: 3.984 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.835e-06/0.5214, allocations: 0 / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.883e-05/0.5214, allocations: 0 / 1.332 GB, free: 11.38 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.001825/0.5232, allocations: 0.8917 MB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.17e-05/0.5233, allocations: 8.031 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006777/0.5239, allocations: 128.4 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.5253, allocations: 0.8621 MB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.538e-05/0.5254, allocations: 12.38 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.5254, allocations: 12.38 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.5265, allocations: 0.6382 MB / 1.334 GB, free: 8.762 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.5265, allocations: 3.984 kB / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.5266, allocations: 8 kB / 1.334 GB, free: 8.75 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.5266, allocations: 4 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/0.5282, allocations: 1.101 MB / 1.335 GB, free: 7.645 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003465/0.5317, allocations: 1.918 MB / 1.337 GB, free: 5.695 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008421/0.5325, allocations: 331.7 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003952/0.5329, allocations: 216.8 kB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.871e-05/0.533, allocations: 23.98 kB / 1.338 GB, free: 5.125 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.669e-05/0.5331, allocations: 38.56 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.064e-06/0.5331, allocations: 3.938 kB / 1.338 GB, free: 5.074 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001593/0.5347, allocations: 0.7059 MB / 1.339 GB, free: 4.363 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.822e-05/0.5347, allocations: 55.41 kB / 1.339 GB, free: 4.297 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003155/0.5379, allocations: 2.059 MB / 1.341 GB, free: 2.227 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.5379, allocations: 33.7 kB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003611/0.5383, allocations: 332.2 kB / 1.341 GB, free: 1.855 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.5383, allocations: 63.44 kB / 1.341 GB, free: 1.793 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001341/0.5385, allocations: 57.69 kB / 1.341 GB, free: 1.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002091/0.5387, allocations: 318 kB / 1.341 GB, free: 1.414 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007938/0.5395, allocations: 0.531 MB / 1.342 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008685/0.5403, allocations: 0.5483 MB / 1.342 GB, free: 336 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.5416, allocations: 0.7718 MB / 1.343 GB, free: 15.55 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.5416, allocations: 0 / 1.343 GB, free: 15.55 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002124/0.5437, allocations: 1.208 MB / 1.344 GB, free: 14.34 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/0.5438, allocations: 11.95 kB / 1.344 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.5438, allocations: 4 kB / 1.344 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/0.5438, allocations: 4 kB / 1.344 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003503/0.5442, allocations: 59.95 kB / 1.344 GB, free: 14.26 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.5442, allocations: 0 / 1.344 GB, free: 14.26 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.5446, allocations: 35.77 kB / 1.344 GB, free: 14.22 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.149e-05/0.5446, allocations: 12 kB / 1.344 GB, free: 14.21 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.000426/0.545, allocations: 276.8 kB / 1.345 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.5452, allocations: 75.47 kB / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.5463, allocations: 0.5367 MB / 1.345 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.5463, allocations: 4 kB / 1.345 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5463, allocations: 0 / 1.345 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5463, allocations: 0 / 1.345 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003696/0.55, allocations: 2.458 MB / 1.348 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.55, allocations: 8 kB / 1.348 GB, free: 10.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002488/0.5502, allocations: 55.84 kB / 1.348 GB, free: 10.69 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.167e-05/0.5502, allocations: 11.94 kB / 1.348 GB, free: 10.68 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.5503, allocations: 7.984 kB / 1.348 GB, free: 10.67 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.438e-05/0.5503, allocations: 8 kB / 1.348 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.5503, allocations: 7.938 kB / 1.348 GB, free: 10.66 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.5514, allocations: 0.6562 MB / 1.348 GB, free: 9.926 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.5516, allocations: 79.5 kB / 1.349 GB, free: 9.848 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-05/0.5517, allocations: 15.98 kB / 1.349 GB, free: 9.832 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.552, allocations: 19.98 kB / 1.349 GB, free: 9.812 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.552, allocations: 27.84 kB / 1.349 GB, free: 9.785 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.5521, allocations: 16 kB / 1.349 GB, free: 9.77 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001942/0.554, allocations: 1.581 MB / 1.35 GB, free: 8.195 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.554, allocations: 0 / 1.35 GB, free: 8.195 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006455/0.5546, allocations: 179.8 kB / 1.35 GB, free: 8.02 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.0004152/0.5551, allocations: 167 kB / 1.351 GB, free: 7.844 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.5564, allocations: 0.769 MB / 1.351 GB, free: 7.074 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.5564, allocations: 0 / 1.351 GB, free: 7.074 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004015/0.5568, allocations: 224.8 kB / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009205/0.5577, allocations: 176.9 kB / 1.352 GB, free: 6.684 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.5605, allocations: 1.626 MB / 1.353 GB, free: 4.977 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.5611, allocations: 407.1 kB / 1.354 GB, free: 4.555 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002558/0.5613, allocations: 80.39 kB / 1.354 GB, free: 4.473 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.5614, allocations: 47.42 kB / 1.354 GB, free: 4.426 MB / 1.045 GB Notification: Performance of SimCode: time 8.32e-07/0.5614, allocations: 0 / 1.354 GB, free: 4.426 MB / 1.045 GB Notification: Performance of Templates: time 0.02284/0.5843, allocations: 11.78 MB / 1.365 GB, free: 8.844 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 -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/jenkins/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.662927471101284]