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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 193.8 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 225.6 MB / 250.8 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.489/3.489, allocations: 495.8 MB / 0.783 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 72.41 kB / 1.137 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4374, allocations: 173.6 MB / 1.307 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.00372/0.4411, allocations: 2.069 MB / 1.309 GB, free: 15.8 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002811/0.4439, allocations: 1.387 MB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.4441, allocations: 4 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007846/0.4448, allocations: 286.9 kB / 1.31 GB, free: 14.12 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.446, allocations: 442.5 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.935e-06/0.446, allocations: 4 kB / 1.311 GB, free: 13.68 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004808/0.4465, allocations: 390.5 kB / 1.311 GB, free: 13.3 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.203e-05/0.4466, allocations: 16.58 kB / 1.311 GB, free: 13.28 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001838/0.4468, allocations: 147.4 kB / 1.311 GB, free: 13.13 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.4471, allocations: 215.1 kB / 1.312 GB, free: 12.92 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.4471, allocations: 20 kB / 1.312 GB, free: 12.9 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005662/0.4477, allocations: 291.6 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004024/0.4481, allocations: 379 kB / 1.312 GB, free: 12.25 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003206/0.4484, allocations: 306.2 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.4495, allocations: 0.8481 MB / 1.313 GB, free: 11.09 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4495, allocations: 0 / 1.313 GB, free: 11.09 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.793e-06/0.4495, allocations: 0 / 1.313 GB, free: 11.09 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.4495, allocations: 4 kB / 1.313 GB, free: 11.09 MB / 1.014 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.001401/0.4509, allocations: 0.8879 MB / 1.314 GB, free: 10.17 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4509, allocations: 8.922 kB / 1.314 GB, free: 10.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000611/0.4516, allocations: 132.4 kB / 1.314 GB, free: 10.03 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.4527, allocations: 0.862 MB / 1.315 GB, free: 9.141 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.4528, allocations: 12.38 kB / 1.315 GB, free: 9.129 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.4528, allocations: 16.38 kB / 1.315 GB, free: 9.113 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008856/0.4537, allocations: 0.639 MB / 1.316 GB, free: 8.469 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.4537, allocations: 4 kB / 1.316 GB, free: 8.465 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.33e-05/0.4537, allocations: 4 kB / 1.316 GB, free: 8.461 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.4537, allocations: 4 kB / 1.316 GB, free: 8.457 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.4552, allocations: 1.113 MB / 1.317 GB, free: 7.344 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002839/0.458, allocations: 2.007 MB / 1.319 GB, free: 5.293 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008519/0.4589, allocations: 335.9 kB / 1.319 GB, free: 4.957 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/0.4592, allocations: 231.4 kB / 1.319 GB, free: 4.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.4593, allocations: 15.98 kB / 1.319 GB, free: 4.715 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.4593, allocations: 46.5 kB / 1.32 GB, free: 4.66 MB / 1.014 GB Notification: Performance of pre-optimization done (n=19): time 1.884e-06/0.4593, allocations: 4 kB / 1.32 GB, free: 4.656 MB / 1.014 GB Notification: Performance of matching and sorting (n=19): time 0.001312/0.4607, allocations: 0.6926 MB / 1.32 GB, free: 3.957 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.4607, allocations: 51.41 kB / 1.32 GB, free: 3.895 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.4633, allocations: 2.078 MB / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.4634, allocations: 33.7 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000314/0.4637, allocations: 328.2 kB / 1.323 GB, free: 1.445 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-05/0.4637, allocations: 71.41 kB / 1.323 GB, free: 1.375 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001298/0.4639, allocations: 61.64 kB / 1.323 GB, free: 1.309 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.464, allocations: 321.9 kB / 1.323 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006753/0.4647, allocations: 0.531 MB / 1.324 GB, free: 468 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007202/0.4654, allocations: 0.56 MB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.4665, allocations: 0.7592 MB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4665, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001615/0.4681, allocations: 1.22 MB / 1.326 GB, free: 13.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.4682, allocations: 4 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.4682, allocations: 0 / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.4682, allocations: 4 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/0.4685, allocations: 63.89 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.4686, allocations: 3.984 kB / 1.326 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003334/0.4689, allocations: 39.8 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.4689, allocations: 12 kB / 1.326 GB, free: 13.77 MB / 1.029 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.0003192/0.4692, allocations: 277.6 kB / 1.326 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.4694, allocations: 75.47 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009987/0.4704, allocations: 0.5389 MB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4704, allocations: 0 / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4704, allocations: 0 / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.4704, allocations: 0 / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00344/0.4738, allocations: 2.554 MB / 1.33 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.4738, allocations: 4 kB / 1.33 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.4741, allocations: 52.5 kB / 1.33 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.4741, allocations: 8 kB / 1.33 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.4741, allocations: 11.98 kB / 1.33 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.446e-05/0.4741, allocations: 15.94 kB / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.4741, allocations: 4 kB / 1.33 GB, free: 10.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.4752, allocations: 0.6612 MB / 1.33 GB, free: 9.379 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.4753, allocations: 79.56 kB / 1.33 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.925e-05/0.4754, allocations: 15.98 kB / 1.33 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.4757, allocations: 19.98 kB / 1.33 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.875e-05/0.4758, allocations: 27.84 kB / 1.33 GB, free: 9.238 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.4758, allocations: 12 kB / 1.33 GB, free: 9.227 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002021/0.4778, allocations: 1.596 MB / 1.332 GB, free: 7.637 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4778, allocations: 0 / 1.332 GB, free: 7.637 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007576/0.4786, allocations: 171.8 kB / 1.332 GB, free: 7.469 MB / 1.029 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.0004197/0.479, allocations: 167.8 kB / 1.332 GB, free: 7.293 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.4802, allocations: 0.7729 MB / 1.333 GB, free: 6.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.4802, allocations: 3.938 kB / 1.333 GB, free: 6.516 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.4806, allocations: 216.7 kB / 1.333 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008564/0.4815, allocations: 185.6 kB / 1.333 GB, free: 6.125 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.4842, allocations: 1.603 MB / 1.335 GB, free: 4.438 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007954/0.485, allocations: 0.9988 MB / 1.336 GB, free: 3.414 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002708/0.4853, allocations: 88.53 kB / 1.336 GB, free: 3.324 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.4854, allocations: 47.42 kB / 1.336 GB, free: 3.277 MB / 1.029 GB Notification: Performance of SimCode: time 7.42e-07/0.4854, allocations: 0 / 1.336 GB, free: 3.277 MB / 1.029 GB Notification: Performance of Templates: time 0.02357/0.509, allocations: 10.63 MB / 1.346 GB, free: 8.773 MB / 1.045 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.284468241035938]