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.001332/0.001332, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001114/0.001114, allocations: 173 kB / 23.49 MB, free: 1.059 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.115/1.115, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.406/2.406, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.996e-06/2.996e-06, allocations: 0 / 0.8782 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.415e-05/4.715e-05, allocations: 7.125 kB / 0.8782 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.DryFluid): time 0.005017/0.005064, allocations: 2.098 MB / 0.8802 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003287/0.008351, allocations: 1.363 MB / 0.8816 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.008643, allocations: 3.938 kB / 0.8816 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.009687, allocations: 243 kB / 0.8818 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.0114, allocations: 446.3 kB / 0.8822 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 1.496e-05/0.01142, allocations: 0 / 0.8822 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007269/0.01214, allocations: 402.4 kB / 0.8826 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.01225, allocations: 16.58 kB / 0.8826 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000393/0.01265, allocations: 187.4 kB / 0.8828 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003872/0.01303, allocations: 187.4 kB / 0.883 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.226e-05/0.01309, allocations: 24 kB / 0.883 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000941/0.01404, allocations: 287.5 kB / 0.8833 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0003772/0.01441, allocations: 391.1 kB / 0.8837 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.01463, allocations: 191.5 kB / 0.8838 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0007071/0.01534, allocations: 0.6422 MB / 0.8845 GB, free: 76 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.01535, allocations: 0 / 0.8845 GB, free: 76 kB / 0.8386 GB Notification: Performance of FrontEnd: time 2.084e-06/0.01535, allocations: 0 / 0.8845 GB, free: 76 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.01536, allocations: 0 / 0.8845 GB, free: 76 kB / 0.8386 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.0009973/0.01636, allocations: 1.007 MB / 0.8855 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/0.01641, allocations: 8.031 kB / 0.8855 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004776/0.01688, allocations: 132.4 kB / 0.8856 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004912/0.01738, allocations: 0.5088 MB / 0.8861 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.0174, allocations: 12.38 kB / 0.8861 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.01743, allocations: 20.3 kB / 0.8861 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.01773, allocations: 176.2 kB / 0.8863 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.01774, allocations: 4.125 kB / 0.8863 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.01776, allocations: 4.375 kB / 0.8863 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.01777, allocations: 7.938 kB / 0.8863 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.01802, allocations: 168.4 kB / 0.8865 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.01927, allocations: 1.058 MB / 0.8875 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.01962, allocations: 142.8 kB / 0.8876 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.946e-05/0.01972, allocations: 55.66 kB / 0.8877 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.443e-05/0.01977, allocations: 23.98 kB / 0.8877 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.0198, allocations: 41.39 kB / 0.8877 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 2.014e-06/0.0198, allocations: 0 / 0.8877 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0004353/0.02023, allocations: 228 kB / 0.888 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.02027, allocations: 63.28 kB / 0.888 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008956/0.02117, allocations: 1.046 MB / 0.889 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.0212, allocations: 29.7 kB / 0.8891 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.02143, allocations: 414.9 kB / 0.8895 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.02147, allocations: 67.42 kB / 0.8895 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.996e-05/0.02155, allocations: 63.3 kB / 0.8896 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.02167, allocations: 492.4 kB / 0.8901 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001057/0.02178, allocations: 67.95 kB / 0.8901 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.0219, allocations: 92.58 kB / 0.8902 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.0221, allocations: 152.9 kB / 0.8904 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.0221, allocations: 0 / 0.8904 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003531/0.02245, allocations: 293 kB / 0.8906 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.02247, allocations: 6.031 kB / 0.8906 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.02248, allocations: 0 / 0.8906 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.0225, allocations: 4 kB / 0.8907 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.02267, allocations: 63.83 kB / 0.8907 GB, free: 9.473 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.02268, allocations: 4 kB / 0.8907 GB, free: 9.469 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.02281, allocations: 27.88 kB / 0.8907 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.939e-05/0.02283, allocations: 15.98 kB / 0.8908 GB, free: 9.426 MB / 0.8542 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.0001118/0.02294, allocations: 168.5 kB / 0.8909 GB, free: 9.25 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.02301, allocations: 71.58 kB / 0.891 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003131/0.02332, allocations: 207.9 kB / 0.8912 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.02333, allocations: 4 kB / 0.8912 GB, free: 8.961 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.02333, allocations: 7.938 kB / 0.8912 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.02334, allocations: 0 / 0.8912 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.02437, allocations: 1.178 MB / 0.8923 GB, free: 7.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.02438, allocations: 4 kB / 0.8924 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.02449, allocations: 43.91 kB / 0.8924 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.02449, allocations: 8 kB / 0.8924 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.02451, allocations: 8 kB / 0.8924 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.02452, allocations: 15.88 kB / 0.8924 GB, free: 7.574 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.02452, allocations: 4 kB / 0.8924 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.02487, allocations: 404.1 kB / 0.8928 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.02494, allocations: 83.5 kB / 0.8929 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.02499, allocations: 7.984 kB / 0.8929 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.02513, allocations: 19.92 kB / 0.8929 GB, free: 6.969 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.02516, allocations: 27.86 kB / 0.8929 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.02518, allocations: 12 kB / 0.893 GB, free: 6.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004974/0.02568, allocations: 0.7138 MB / 0.8937 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02568, allocations: 0 / 0.8937 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003868/0.02606, allocations: 179.8 kB / 0.8938 GB, free: 6.047 MB / 0.8542 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.000292/0.02635, allocations: 183 kB / 0.894 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002715/0.02663, allocations: 151.4 kB / 0.8941 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.02663, allocations: 0 / 0.8941 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.536e-05/0.02671, allocations: 68.59 kB / 0.8942 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005051/0.02722, allocations: 188.9 kB / 0.8944 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.02899, allocations: 1.354 MB / 0.8957 GB, free: 3.984 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.02924, allocations: 213.4 kB / 0.8959 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001391/0.02938, allocations: 68.39 kB / 0.896 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.563e-05/0.02946, allocations: 44.48 kB / 0.896 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of SimCode: time 1.122e-06/0.02946, allocations: 0 / 0.896 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of Templates: time 0.01323/0.04269, allocations: 10.81 MB / 0.9066 GB, free: 9.059 MB / 0.8698 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 -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: 6.364584657130763]