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.001519/0.001519, allocations: 104.3 kB / 16.45 MB, free: 6.449 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.001512/0.001512, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.556/1.556, allocations: 230.6 MB / 252.8 MB, free: 9.148 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.493/3.493, allocations: 0.4899 GB / 0.7915 GB, free: 33.41 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.002092/0.002092, allocations: 74.5 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4211/0.4232, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003537/0.4267, allocations: 2.076 MB / 1.323 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002438/0.4291, allocations: 1.41 MB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.517e-05/0.4292, allocations: 0 / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006815/0.4299, allocations: 259 kB / 1.325 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.431, allocations: 434.6 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 7.934e-06/0.431, allocations: 0 / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.4314, allocations: 398.4 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.401e-05/0.4315, allocations: 12.41 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.4316, allocations: 147.4 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.4319, allocations: 215.1 kB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.4319, allocations: 24 kB / 1.326 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004826/0.4324, allocations: 279.6 kB / 1.326 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.4327, allocations: 375 kB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.433, allocations: 306.2 kB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009416/0.4339, allocations: 0.8519 MB / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4339, allocations: 0 / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4339, allocations: 0 / 1.328 GB, free: 12.08 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.4339, allocations: 0 / 1.328 GB, free: 12.08 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.001249/0.4352, allocations: 0.9671 MB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4352, allocations: 11.98 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006402/0.4359, allocations: 128.4 kB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.4369, allocations: 0.9147 MB / 1.33 GB, free: 9.965 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.4369, allocations: 12.38 kB / 1.33 GB, free: 9.953 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.437, allocations: 12.38 kB / 1.33 GB, free: 9.941 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008507/0.4378, allocations: 0.6421 MB / 1.33 GB, free: 9.293 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.4378, allocations: 0 / 1.33 GB, free: 9.293 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.4379, allocations: 8 kB / 1.33 GB, free: 9.285 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4379, allocations: 4 kB / 1.33 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001371/0.4392, allocations: 1.101 MB / 1.332 GB, free: 8.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.442, allocations: 2.054 MB / 1.334 GB, free: 6.074 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008213/0.4428, allocations: 334.7 kB / 1.334 GB, free: 5.738 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.4432, allocations: 220.7 kB / 1.334 GB, free: 5.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.516e-05/0.4432, allocations: 23.98 kB / 1.334 GB, free: 5.496 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.4432, allocations: 38.48 kB / 1.334 GB, free: 5.449 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.4432, allocations: 0 / 1.334 GB, free: 5.449 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001303/0.4445, allocations: 0.7059 MB / 1.335 GB, free: 4.738 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.4446, allocations: 55.41 kB / 1.335 GB, free: 4.672 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/0.447, allocations: 2.078 MB / 1.337 GB, free: 2.582 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.4471, allocations: 25.7 kB / 1.337 GB, free: 2.551 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.4474, allocations: 328.2 kB / 1.337 GB, free: 2.227 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.4474, allocations: 75.41 kB / 1.337 GB, free: 2.152 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.4475, allocations: 61.69 kB / 1.337 GB, free: 2.086 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4477, allocations: 310 kB / 1.338 GB, free: 1.777 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006519/0.4483, allocations: 0.5349 MB / 1.338 GB, free: 1.242 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006813/0.449, allocations: 0.5561 MB / 1.339 GB, free: 0.6797 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.4501, allocations: 0.7791 MB / 1.339 GB, free: 15.89 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4501, allocations: 0 / 1.339 GB, free: 15.89 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001592/0.4516, allocations: 1.204 MB / 1.341 GB, free: 14.68 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4517, allocations: 4 kB / 1.341 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4517, allocations: 4 kB / 1.341 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.4517, allocations: 0 / 1.341 GB, free: 14.68 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.452, allocations: 71.83 kB / 1.341 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.4521, allocations: 4 kB / 1.341 GB, free: 14.6 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003649/0.4524, allocations: 35.8 kB / 1.341 GB, free: 14.57 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.4524, allocations: 8 kB / 1.341 GB, free: 14.56 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.0003255/0.4528, allocations: 277.7 kB / 1.341 GB, free: 14.28 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.4529, allocations: 71.47 kB / 1.341 GB, free: 14.21 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009737/0.4539, allocations: 0.5407 MB / 1.342 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4539, allocations: 4 kB / 1.342 GB, free: 13.66 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4539, allocations: 4 kB / 1.342 GB, free: 13.65 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.4539, allocations: 0 / 1.342 GB, free: 13.65 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.457, allocations: 2.59 MB / 1.344 GB, free: 10.95 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.457, allocations: 4 kB / 1.344 GB, free: 10.94 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.4573, allocations: 47.91 kB / 1.344 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.4573, allocations: 4 kB / 1.344 GB, free: 10.89 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.4573, allocations: 12 kB / 1.344 GB, free: 10.88 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/0.4573, allocations: 12.42 kB / 1.344 GB, free: 10.87 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.4574, allocations: 11.94 kB / 1.344 GB, free: 10.86 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.4584, allocations: 0.6599 MB / 1.345 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.4586, allocations: 156.7 kB / 1.345 GB, free: 9.949 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.4586, allocations: 7.984 kB / 1.345 GB, free: 9.941 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/0.459, allocations: 23.98 kB / 1.345 GB, free: 9.918 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.459, allocations: 27.86 kB / 1.345 GB, free: 9.891 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.459, allocations: 11.94 kB / 1.345 GB, free: 9.879 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001707/0.4607, allocations: 1.596 MB / 1.347 GB, free: 8.289 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4607, allocations: 0 / 1.347 GB, free: 8.289 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0006082/0.4613, allocations: 175.9 kB / 1.347 GB, free: 8.117 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.0003964/0.4617, allocations: 161.5 kB / 1.347 GB, free: 7.949 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.4629, allocations: 0.769 MB / 1.348 GB, free: 7.18 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4629, allocations: 4.062 kB / 1.348 GB, free: 7.176 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.4633, allocations: 223.6 kB / 1.348 GB, free: 6.957 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008379/0.4642, allocations: 183.9 kB / 1.348 GB, free: 6.777 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.4668, allocations: 1.607 MB / 1.35 GB, free: 5.086 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007176/0.4675, allocations: 0.9991 MB / 1.351 GB, free: 4.062 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002446/0.4677, allocations: 84.55 kB / 1.351 GB, free: 3.977 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.4679, allocations: 47.36 kB / 1.351 GB, free: 3.93 MB / 1.045 GB Notification: Performance of SimCode: time 8.42e-07/0.4679, allocations: 0 / 1.351 GB, free: 3.93 MB / 1.045 GB Notification: Performance of Templates: time 0.02611/0.494, allocations: 10.5 MB / 1.361 GB, free: 9.551 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: 9.841318789869547]