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.001058/0.001058, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001056/0.001056, allocations: 161 kB / 24.17 MB, free: 332 kB / 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 0.9915/0.9915, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.853/1.853, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.422e-05, allocations: 4.031 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.002817/0.002831, allocations: 2.125 MB / 0.7622 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002067/0.004897, allocations: 1.394 MB / 0.7635 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.502e-05/0.004982, allocations: 0 / 0.7635 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005315/0.005514, allocations: 237.7 kB / 0.7637 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007389/0.006253, allocations: 422.3 kB / 0.7641 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 6.943e-06/0.00626, allocations: 0 / 0.7641 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.006603, allocations: 411.6 kB / 0.7645 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.4e-05/0.006657, allocations: 22.48 kB / 0.7646 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.006826, allocations: 187.4 kB / 0.7647 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.007036, allocations: 175.8 kB / 0.7649 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.007067, allocations: 24.66 kB / 0.7649 GB, free: 1.648 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004856/0.007553, allocations: 318.6 kB / 0.7652 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.007819, allocations: 387.2 kB / 0.7656 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001672/0.007986, allocations: 191.5 kB / 0.7658 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006347/0.008621, allocations: 0.6384 MB / 0.7664 GB, free: 136 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.008623, allocations: 0 / 0.7664 GB, free: 136 kB / 0.7136 GB Notification: Performance of FrontEnd: time 6.21e-07/0.008624, allocations: 0 / 0.7664 GB, free: 136 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.008629, allocations: 0 / 0.7664 GB, free: 136 kB / 0.7136 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.0008443/0.009474, allocations: 0.8473 MB / 0.7672 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.009506, allocations: 11.16 kB / 0.7672 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003561/0.009862, allocations: 100.8 kB / 0.7673 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.01035, allocations: 489.1 kB / 0.7678 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.01037, allocations: 8.375 kB / 0.7678 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.01039, allocations: 12.38 kB / 0.7678 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.01062, allocations: 160.9 kB / 0.768 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.01063, allocations: 192 / 0.768 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.01065, allocations: 4.375 kB / 0.768 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.01066, allocations: 7.938 kB / 0.768 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.01084, allocations: 108.8 kB / 0.7681 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009357/0.01178, allocations: 0.6559 MB / 0.7687 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.01202, allocations: 152.9 kB / 0.7689 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.493e-05/0.0121, allocations: 48.77 kB / 0.7689 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.01213, allocations: 23.98 kB / 0.769 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.01216, allocations: 34.56 kB / 0.769 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=19): time 1.453e-06/0.01216, allocations: 0 / 0.769 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=19): time 0.000277/0.01243, allocations: 150.3 kB / 0.7691 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.01246, allocations: 51.41 kB / 0.7692 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007461/0.01321, allocations: 0.8687 MB / 0.77 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.01322, allocations: 29.7 kB / 0.7701 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.01335, allocations: 214 kB / 0.7703 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.01339, allocations: 67.42 kB / 0.7703 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.494e-05/0.01347, allocations: 57.56 kB / 0.7704 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.781e-05/0.01355, allocations: 323.5 kB / 0.7707 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.01366, allocations: 50.81 kB / 0.7707 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.01377, allocations: 65.69 kB / 0.7708 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.01398, allocations: 133.6 kB / 0.7709 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.01398, allocations: 3.984 kB / 0.7709 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003215/0.0143, allocations: 212.3 kB / 0.7711 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.01431, allocations: 7.938 kB / 0.7711 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01432, allocations: 8.844 kB / 0.7711 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.01433, allocations: 0 / 0.7711 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.01454, allocations: 60.86 kB / 0.7712 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.01454, allocations: 4 kB / 0.7712 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.01472, allocations: 32.61 kB / 0.7712 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.01474, allocations: 8.5 kB / 0.7712 GB, free: 11 MB / 0.7292 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.0001003/0.01484, allocations: 121.9 kB / 0.7714 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.0149, allocations: 47.94 kB / 0.7714 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.01517, allocations: 163.4 kB / 0.7716 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.01517, allocations: 4 kB / 0.7716 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01517, allocations: 0.7188 kB / 0.7716 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.01518, allocations: 7.922 kB / 0.7716 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009495/0.01613, allocations: 0.8822 MB / 0.7724 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.01613, allocations: 4.812 kB / 0.7724 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.01627, allocations: 47.91 kB / 0.7725 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.01628, allocations: 7.188 kB / 0.7725 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.0163, allocations: 12 kB / 0.7725 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.0163, allocations: 11.92 kB / 0.7725 GB, free: 9.586 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.01631, allocations: 8 kB / 0.7725 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.0166, allocations: 328.9 kB / 0.7728 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.488e-05/0.01669, allocations: 86.97 kB / 0.7729 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.226e-05/0.01675, allocations: 8 kB / 0.7729 GB, free: 9.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001889/0.01694, allocations: 19.98 kB / 0.773 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.01697, allocations: 23.92 kB / 0.773 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.01699, allocations: 15.92 kB / 0.773 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004572/0.01744, allocations: 0.5111 MB / 0.7735 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01744, allocations: 0 / 0.7735 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004096/0.01785, allocations: 175.8 kB / 0.7737 GB, free: 8.332 MB / 0.7292 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.0002256/0.01808, allocations: 168.9 kB / 0.7738 GB, free: 8.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.01832, allocations: 134.1 kB / 0.7739 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.01833, allocations: 8 kB / 0.774 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.811e-05/0.01842, allocations: 70.06 kB / 0.774 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005401/0.01896, allocations: 188.2 kB / 0.7742 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.02076, allocations: 1.308 MB / 0.7755 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.02094, allocations: 213.4 kB / 0.7757 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.02112, allocations: 66.48 kB / 0.7757 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003502/0.02147, allocations: 185.2 kB / 0.7759 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of SimCode: time 8.32e-07/0.02148, allocations: 0.5312 kB / 0.7759 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of Templates: time 0.01497/0.03644, allocations: 11.59 MB / 0.7872 GB, free: 10.68 MB / 0.7448 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.989626886788756]