Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001021/0.001021, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001145/0.001145, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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.002/1.002, allocations: 177.1 MB / 203.8 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.421/2.421, allocations: 438.8 MB / 0.6826 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0.9844 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.254e-05/3.498e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.004582/0.004617, allocations: 2.127 MB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002872/0.007489, allocations: 1.382 MB / 0.8421 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.007633, allocations: 4 kB / 0.8421 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007058/0.008339, allocations: 239 kB / 0.8423 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0009982/0.009338, allocations: 422.3 kB / 0.8427 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 6.933e-06/0.009345, allocations: 0 / 0.8427 GB, free: 9.996 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.009757, allocations: 410.3 kB / 0.8431 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 5.822e-05/0.009816, allocations: 10.56 kB / 0.8431 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.01002, allocations: 191.4 kB / 0.8433 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.01028, allocations: 179.3 kB / 0.8434 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.01032, allocations: 24 kB / 0.8435 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005994/0.01092, allocations: 319.4 kB / 0.8438 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.00032/0.01124, allocations: 379.2 kB / 0.8441 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.01143, allocations: 195.4 kB / 0.8443 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007441/0.01218, allocations: 0.6383 MB / 0.8449 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01218, allocations: 0 / 0.8449 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.413e-06/0.01218, allocations: 0 / 0.8449 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.01219, allocations: 0 / 0.8449 GB, free: 7.684 MB / 0.8073 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.001087/0.01328, allocations: 0.8435 MB / 0.8458 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.01332, allocations: 8.031 kB / 0.8458 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004598/0.01378, allocations: 108.8 kB / 0.8459 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005797/0.01436, allocations: 493.1 kB / 0.8463 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.01438, allocations: 12.38 kB / 0.8464 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.01441, allocations: 16.38 kB / 0.8464 GB, free: 6.164 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.0147, allocations: 151.1 kB / 0.8465 GB, free: 6.008 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.01471, allocations: 192 / 0.8465 GB, free: 6.008 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.01473, allocations: 16.36 kB / 0.8465 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.01474, allocations: 7.938 kB / 0.8465 GB, free: 5.984 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002269/0.01497, allocations: 108.2 kB / 0.8466 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.01609, allocations: 0.6469 MB / 0.8473 GB, free: 5.215 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.01641, allocations: 158.4 kB / 0.8474 GB, free: 5.051 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.87e-05/0.0165, allocations: 44.77 kB / 0.8475 GB, free: 5.004 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.934e-05/0.01655, allocations: 31.98 kB / 0.8475 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.01658, allocations: 30.56 kB / 0.8475 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=19): time 2.094e-06/0.01658, allocations: 0 / 0.8475 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0003516/0.01693, allocations: 151.8 kB / 0.8477 GB, free: 4.781 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.01697, allocations: 55.41 kB / 0.8477 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009078/0.01787, allocations: 0.8687 MB / 0.8486 GB, free: 3.832 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.01789, allocations: 25.7 kB / 0.8486 GB, free: 3.801 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.01804, allocations: 217.9 kB / 0.8488 GB, free: 3.586 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.342e-05/0.01809, allocations: 67.42 kB / 0.8489 GB, free: 3.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.624e-05/0.01819, allocations: 49.67 kB / 0.8489 GB, free: 3.465 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.564e-05/0.01829, allocations: 318 kB / 0.8492 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.01841, allocations: 46.81 kB / 0.8493 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.01856, allocations: 73.67 kB / 0.8493 GB, free: 3.023 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.01881, allocations: 144.7 kB / 0.8495 GB, free: 2.875 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.01881, allocations: 0 / 0.8495 GB, free: 2.875 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003949/0.01921, allocations: 211.7 kB / 0.8497 GB, free: 2.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.01923, allocations: 4 kB / 0.8497 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01923, allocations: 0 / 0.8497 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.01925, allocations: 4 kB / 0.8497 GB, free: 2.652 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.01953, allocations: 63.89 kB / 0.8497 GB, free: 2.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.199e-06/0.01954, allocations: 3.984 kB / 0.8498 GB, free: 2.586 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.01976, allocations: 35.84 kB / 0.8498 GB, free: 2.551 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.01978, allocations: 4 kB / 0.8498 GB, free: 2.547 MB / 0.8073 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.0001284/0.01991, allocations: 124.6 kB / 0.8499 GB, free: 2.414 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.02, allocations: 43.95 kB / 0.85 GB, free: 2.371 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.02033, allocations: 171.8 kB / 0.8501 GB, free: 2.191 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.02033, allocations: 0 / 0.8501 GB, free: 2.191 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.02033, allocations: 8 kB / 0.8501 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.02034, allocations: 11.92 kB / 0.8501 GB, free: 2.172 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.02152, allocations: 0.8745 MB / 0.851 GB, free: 1.191 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.413e-06/0.02153, allocations: 4 kB / 0.851 GB, free: 1.188 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001917/0.02172, allocations: 43.91 kB / 0.851 GB, free: 1.145 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/0.02173, allocations: 8 kB / 0.851 GB, free: 1.137 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.02175, allocations: 8 kB / 0.851 GB, free: 1.129 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/0.02176, allocations: 15.92 kB / 0.8511 GB, free: 1.113 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.02177, allocations: 7.938 kB / 0.8511 GB, free: 1.105 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.02215, allocations: 334.1 kB / 0.8514 GB, free: 0.6836 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.02227, allocations: 79.47 kB / 0.8515 GB, free: 0.6055 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.969e-05/0.02235, allocations: 12 kB / 0.8515 GB, free: 0.5938 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.02258, allocations: 11.98 kB / 0.8515 GB, free: 0.582 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.02263, allocations: 31.84 kB / 0.8515 GB, free: 0.5508 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.02265, allocations: 12 kB / 0.8515 GB, free: 0.5391 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000541/0.02319, allocations: 0.5072 MB / 0.852 GB, free: 32 kB / 0.8073 GB Notification: Performance of sort global known variables: time 3.5e-07/0.02319, allocations: 0 / 0.852 GB, free: 32 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006018/0.0238, allocations: 175.9 kB / 0.8522 GB, free: 15.86 MB / 0.823 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.000403/0.0242, allocations: 160.1 kB / 0.8523 GB, free: 15.7 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002997/0.0245, allocations: 144.5 kB / 0.8525 GB, free: 15.55 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/0.02451, allocations: 8 kB / 0.8525 GB, free: 15.54 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.914e-05/0.02461, allocations: 64.47 kB / 0.8526 GB, free: 15.48 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006778/0.02529, allocations: 184.2 kB / 0.8527 GB, free: 15.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.02736, allocations: 1.319 MB / 0.854 GB, free: 13.88 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.02749, allocations: 209.4 kB / 0.8542 GB, free: 13.66 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.02763, allocations: 68.39 kB / 0.8543 GB, free: 13.59 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.02791, allocations: 193.2 kB / 0.8545 GB, free: 13.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.273e-06/0.02792, allocations: 0 / 0.8545 GB, free: 13.4 MB / 0.823 GB Notification: Performance of Templates: time 0.01502/0.04293, allocations: 11.6 MB / 0.8658 GB, free: 2.047 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_DryFluid.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.460455744061619]