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.002261/0.002261, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002593/0.002593, allocations: 219.1 kB / 22.26 MB, free: 5.125 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.63/1.63, allocations: 230.6 MB / 256 MB, free: 7.988 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.515/3.515, allocations: 0.4899 GB / 0.7951 GB, free: 33.4 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.002736/0.002736, allocations: 73.86 kB / 1.154 GB, free: 25.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4997/0.5024, allocations: 176.1 MB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003713/0.5062, allocations: 2.085 MB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002577/0.5087, allocations: 1.43 MB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.698e-05/0.5088, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007568/0.5096, allocations: 287 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001135/0.5107, allocations: 450.5 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.046e-06/0.5107, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004802/0.5112, allocations: 390.5 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.398e-05/0.5113, allocations: 16.58 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.5114, allocations: 151.3 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003041/0.5117, allocations: 211.1 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.5118, allocations: 24 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005762/0.5124, allocations: 299.6 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003655/0.5127, allocations: 383 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.513, allocations: 302.2 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009921/0.514, allocations: 0.8559 MB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.514, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.896e-06/0.514, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.5141, allocations: 0 / 1.333 GB, free: 10.57 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.001283/0.5153, allocations: 0.884 MB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.5154, allocations: 8.031 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006362/0.516, allocations: 140.4 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.5171, allocations: 0.8543 MB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.5171, allocations: 8.375 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.5172, allocations: 16.38 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009139/0.5181, allocations: 0.642 MB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.5181, allocations: 0 / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.5181, allocations: 4 kB / 1.336 GB, free: 7.949 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.5181, allocations: 8 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.5195, allocations: 1.105 MB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002738/0.5223, allocations: 2.018 MB / 1.339 GB, free: 4.773 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007684/0.523, allocations: 333.2 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.5234, allocations: 232.6 kB / 1.339 GB, free: 4.211 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.387e-05/0.5235, allocations: 19.98 kB / 1.339 GB, free: 4.191 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.5235, allocations: 38.5 kB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/0.5235, allocations: 4 kB / 1.339 GB, free: 4.141 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001287/0.5248, allocations: 0.6941 MB / 1.34 GB, free: 3.441 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.5248, allocations: 55.41 kB / 1.34 GB, free: 3.375 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002593/0.5274, allocations: 2.078 MB / 1.342 GB, free: 1.285 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.5275, allocations: 29.7 kB / 1.342 GB, free: 1.25 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.5278, allocations: 332.2 kB / 1.342 GB, free: 0.9219 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.823e-05/0.5279, allocations: 67.42 kB / 1.342 GB, free: 0.8555 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.528, allocations: 57.69 kB / 1.342 GB, free: 0.793 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.5282, allocations: 321.9 kB / 1.343 GB, free: 484 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006819/0.5289, allocations: 0.5349 MB / 1.343 GB, free: 15.94 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007209/0.5296, allocations: 0.5483 MB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.5306, allocations: 0.768 MB / 1.345 GB, free: 14.61 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.5306, allocations: 0 / 1.345 GB, free: 14.61 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001522/0.5321, allocations: 1.212 MB / 1.346 GB, free: 13.39 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.5322, allocations: 8 kB / 1.346 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5322, allocations: 0 / 1.346 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.5322, allocations: 0 / 1.346 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.5325, allocations: 71.92 kB / 1.346 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.5325, allocations: 3.938 kB / 1.346 GB, free: 13.31 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000332/0.5329, allocations: 35.77 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.5329, allocations: 15.98 kB / 1.346 GB, free: 13.26 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.0003097/0.5332, allocations: 270.2 kB / 1.346 GB, free: 12.98 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.5333, allocations: 75.47 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009999/0.5343, allocations: 0.5404 MB / 1.347 GB, free: 12.36 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5343, allocations: 4 kB / 1.347 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5343, allocations: 0 / 1.347 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5343, allocations: 3.984 kB / 1.347 GB, free: 12.35 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003316/0.5377, allocations: 2.558 MB / 1.349 GB, free: 9.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.5377, allocations: 4 kB / 1.349 GB, free: 9.676 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.5379, allocations: 55.89 kB / 1.349 GB, free: 9.621 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.5379, allocations: 8 kB / 1.349 GB, free: 9.613 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.5379, allocations: 4 kB / 1.349 GB, free: 9.609 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.538, allocations: 11.94 kB / 1.349 GB, free: 9.598 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.538, allocations: 4 kB / 1.349 GB, free: 9.594 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009711/0.5389, allocations: 0.6639 MB / 1.35 GB, free: 8.855 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.5391, allocations: 75.55 kB / 1.35 GB, free: 8.781 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-05/0.5392, allocations: 15.94 kB / 1.35 GB, free: 8.766 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.5395, allocations: 23.92 kB / 1.35 GB, free: 8.742 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.066e-05/0.5395, allocations: 31.89 kB / 1.35 GB, free: 8.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.5396, allocations: 12 kB / 1.35 GB, free: 8.699 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001688/0.5412, allocations: 1.596 MB / 1.352 GB, free: 7.109 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.5412, allocations: 0 / 1.352 GB, free: 7.109 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005713/0.5418, allocations: 171.9 kB / 1.352 GB, free: 6.941 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.0003322/0.5422, allocations: 159 kB / 1.352 GB, free: 6.773 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.5432, allocations: 0.7741 MB / 1.353 GB, free: 6 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5432, allocations: 0 / 1.353 GB, free: 6 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003656/0.5436, allocations: 228.3 kB / 1.353 GB, free: 5.777 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008102/0.5444, allocations: 183.4 kB / 1.353 GB, free: 5.598 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/0.547, allocations: 1.6 MB / 1.355 GB, free: 3.914 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007085/0.5477, allocations: 1.003 MB / 1.356 GB, free: 2.887 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002253/0.5479, allocations: 80.55 kB / 1.356 GB, free: 2.805 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.548, allocations: 43.42 kB / 1.356 GB, free: 2.762 MB / 1.045 GB Notification: Performance of SimCode: time 5.41e-07/0.548, allocations: 0 / 1.356 GB, free: 2.762 MB / 1.045 GB Notification: Performance of Templates: time 0.02065/0.5687, allocations: 10.63 MB / 1.366 GB, free: 8.254 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.555537115316838]