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.001713/0.001713, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002473/0.002473, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.203/3.203, allocations: 0.49 GB / 0.7958 GB, free: 33.36 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.002234/0.002234, allocations: 66.97 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3433, allocations: 176.1 MB / 1.327 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.003456/0.3468, allocations: 2.083 MB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00249/0.3493, allocations: 1.422 MB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.3494, allocations: 8 kB / 1.331 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007082/0.3501, allocations: 282.9 kB / 1.331 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.3512, allocations: 453.9 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.736e-06/0.3512, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004429/0.3516, allocations: 390.5 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.444e-05/0.3517, allocations: 20.53 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.3519, allocations: 143.4 kB / 1.332 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.3521, allocations: 211.1 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.3522, allocations: 24 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005655/0.3528, allocations: 303.6 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003427/0.3531, allocations: 375 kB / 1.333 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.3534, allocations: 306.2 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009991/0.3544, allocations: 0.8481 MB / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3544, allocations: 0 / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3544, allocations: 0 / 1.334 GB, free: 10.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.3544, allocations: 0 / 1.334 GB, free: 10.56 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.001299/0.3557, allocations: 0.8957 MB / 1.335 GB, free: 9.633 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3557, allocations: 8.031 kB / 1.335 GB, free: 9.625 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005865/0.3563, allocations: 128.4 kB / 1.335 GB, free: 9.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.3574, allocations: 0.8621 MB / 1.336 GB, free: 8.609 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3574, allocations: 12.38 kB / 1.336 GB, free: 8.598 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.3574, allocations: 16.31 kB / 1.336 GB, free: 8.582 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008406/0.3583, allocations: 0.6382 MB / 1.336 GB, free: 7.938 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3583, allocations: 4 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.3583, allocations: 4 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.974e-06/0.3583, allocations: 4 kB / 1.336 GB, free: 7.926 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.3597, allocations: 1.113 MB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/0.3624, allocations: 2.019 MB / 1.339 GB, free: 4.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007584/0.3631, allocations: 338.7 kB / 1.34 GB, free: 4.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003666/0.3635, allocations: 218.1 kB / 1.34 GB, free: 4.195 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.636e-05/0.3635, allocations: 23.98 kB / 1.34 GB, free: 4.172 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.3636, allocations: 34.5 kB / 1.34 GB, free: 4.129 MB / 1.029 GB Notification: Performance of pre-optimization done (n=19): time 2.164e-06/0.3636, allocations: 0 / 1.34 GB, free: 4.129 MB / 1.029 GB Notification: Performance of matching and sorting (n=19): time 0.001251/0.3648, allocations: 0.7018 MB / 1.341 GB, free: 3.422 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.3649, allocations: 55.41 kB / 1.341 GB, free: 3.355 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.3674, allocations: 2.082 MB / 1.343 GB, free: 1.262 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.3675, allocations: 25.7 kB / 1.343 GB, free: 1.23 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003126/0.3678, allocations: 336.2 kB / 1.343 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.053e-05/0.3678, allocations: 71.36 kB / 1.343 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.3679, allocations: 57.69 kB / 1.343 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3681, allocations: 314 kB / 1.343 GB, free: 464 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/0.3687, allocations: 0.5349 MB / 1.344 GB, free: 15.92 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/0.3694, allocations: 0.5522 MB / 1.345 GB, free: 15.36 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.3704, allocations: 0.7718 MB / 1.345 GB, free: 14.58 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3704, allocations: 0 / 1.345 GB, free: 14.58 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001576/0.372, allocations: 1.208 MB / 1.346 GB, free: 13.37 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.372, allocations: 8 kB / 1.346 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.372, allocations: 0 / 1.346 GB, free: 13.36 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.372, allocations: 7.922 kB / 1.346 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.3724, allocations: 67.89 kB / 1.347 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.3724, allocations: 4 kB / 1.347 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003588/0.3727, allocations: 31.81 kB / 1.347 GB, free: 13.25 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.3728, allocations: 12.03 kB / 1.347 GB, free: 13.24 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.0003331/0.3731, allocations: 274.2 kB / 1.347 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3732, allocations: 75.47 kB / 1.347 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009423/0.3742, allocations: 0.535 MB / 1.347 GB, free: 12.34 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.3742, allocations: 4 kB / 1.347 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3742, allocations: 0 / 1.347 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3742, allocations: 0 / 1.347 GB, free: 12.33 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003223/0.3774, allocations: 2.566 MB / 1.35 GB, free: 9.656 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.3774, allocations: 4 kB / 1.35 GB, free: 9.652 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.3777, allocations: 47.91 kB / 1.35 GB, free: 9.605 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/0.3777, allocations: 4.562 kB / 1.35 GB, free: 9.602 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.3777, allocations: 19.98 kB / 1.35 GB, free: 9.582 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.3777, allocations: 7.938 kB / 1.35 GB, free: 9.574 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.3777, allocations: 8 kB / 1.35 GB, free: 9.566 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3787, allocations: 0.6575 MB / 1.351 GB, free: 8.836 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.3789, allocations: 83.55 kB / 1.351 GB, free: 8.754 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.16e-05/0.379, allocations: 16 kB / 1.351 GB, free: 8.738 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.3793, allocations: 15.98 kB / 1.351 GB, free: 8.723 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.3794, allocations: 27.84 kB / 1.351 GB, free: 8.695 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.3794, allocations: 8 kB / 1.351 GB, free: 8.688 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001741/0.3811, allocations: 1.596 MB / 1.352 GB, free: 7.098 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3811, allocations: 4 kB / 1.352 GB, free: 7.094 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005929/0.3817, allocations: 167.9 kB / 1.353 GB, free: 6.93 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.0003307/0.382, allocations: 172.9 kB / 1.353 GB, free: 6.75 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.00115/0.3832, allocations: 0.7612 MB / 1.353 GB, free: 5.988 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3832, allocations: 7.938 kB / 1.353 GB, free: 5.98 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.3836, allocations: 224.8 kB / 1.354 GB, free: 5.762 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008639/0.3844, allocations: 192.5 kB / 1.354 GB, free: 5.574 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.3868, allocations: 1.41 MB / 1.355 GB, free: 4.074 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/0.3874, allocations: 0.9211 MB / 1.356 GB, free: 3.129 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.3875, allocations: 47.42 kB / 1.356 GB, free: 3.082 MB / 1.045 GB Notification: Performance of SimCode: time 8.02e-07/0.3875, allocations: 0 / 1.356 GB, free: 3.082 MB / 1.045 GB Notification: Performance of Templates: time 0.01466/0.4022, allocations: 8.728 MB / 1.365 GB, free: 10.42 MB / 1.061 GB " [Timeout remaining time 300] 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/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: 12.757851346977986]