Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.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.0009937/0.0009937, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001052/0.001052, allocations: 169 kB / 24.06 MB, free: 452 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 1.002/1.002, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.138/2.138, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") translateModel(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cyc.etaThe|cyc.dTSup",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.8794 GB, free: 4.863 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.4e-05/1.55e-05, allocations: 4.203 kB / 0.8794 GB, free: 4.859 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002308/0.002323, allocations: 2.22 MB / 0.8816 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.004082, allocations: 1.348 MB / 0.8829 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.953e-05/0.004182, allocations: 4 kB / 0.8829 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0005326/0.004714, allocations: 242.9 kB / 0.8831 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0007132/0.005428, allocations: 451.6 kB / 0.8836 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 5.981e-06/0.005434, allocations: 0 / 0.8836 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.005732, allocations: 410.3 kB / 0.884 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.005782, allocations: 16.58 kB / 0.884 GB, free: 212 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.005917, allocations: 184.5 kB / 0.8841 GB, free: 28 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.006112, allocations: 187.4 kB / 0.8843 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.482e-05/0.006137, allocations: 24 kB / 0.8843 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004088/0.006546, allocations: 287.5 kB / 0.8846 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.006793, allocations: 383.1 kB / 0.885 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.00695, allocations: 195.5 kB / 0.8852 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005826/0.007533, allocations: 0.6344 MB / 0.8858 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.007535, allocations: 0 / 0.8858 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.11e-07/0.007535, allocations: 4 kB / 0.8858 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.00754, allocations: 0 / 0.8858 GB, free: 14.33 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.0008677/0.008408, allocations: 1.011 MB / 0.8868 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.00844, allocations: 12.03 kB / 0.8868 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003291/0.008769, allocations: 136.4 kB / 0.8869 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003821/0.009151, allocations: 473 kB / 0.8874 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.009168, allocations: 12.38 kB / 0.8874 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.009187, allocations: 12.38 kB / 0.8874 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.009395, allocations: 156.3 kB / 0.8875 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.009404, allocations: 192 / 0.8875 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.009419, allocations: 4.375 kB / 0.8876 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.009427, allocations: 7.938 kB / 0.8876 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.009592, allocations: 144.7 kB / 0.8877 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.01069, allocations: 0.9377 MB / 0.8886 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.01093, allocations: 134.6 kB / 0.8887 GB, free: 11.2 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.241e-05/0.01099, allocations: 51.64 kB / 0.8888 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/0.01102, allocations: 19.98 kB / 0.8888 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.01105, allocations: 49.33 kB / 0.8889 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/0.01105, allocations: 4 kB / 0.8889 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0003126/0.01136, allocations: 207.5 kB / 0.8891 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.01139, allocations: 55.41 kB / 0.8891 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006343/0.01203, allocations: 0.9756 MB / 0.8901 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.01205, allocations: 25.7 kB / 0.8901 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.01229, allocations: 414.8 kB / 0.8905 GB, free: 9.359 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.01233, allocations: 71.41 kB / 0.8906 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.726e-05/0.0124, allocations: 63.3 kB / 0.8906 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.01253, allocations: 496.4 kB / 0.8911 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.578e-05/0.01262, allocations: 55.95 kB / 0.8911 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.01272, allocations: 92.81 kB / 0.8912 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.0129, allocations: 144.3 kB / 0.8914 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.0129, allocations: 4 kB / 0.8914 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003285/0.01323, allocations: 277.1 kB / 0.8916 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.01324, allocations: 4 kB / 0.8916 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.01325, allocations: 0 / 0.8916 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.01326, allocations: 7.984 kB / 0.8916 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.0137, allocations: 55.91 kB / 0.8917 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01371, allocations: 11.97 kB / 0.8917 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.01385, allocations: 23.88 kB / 0.8917 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.01386, allocations: 11.98 kB / 0.8917 GB, free: 8.031 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 9.991e-05/0.01396, allocations: 160.6 kB / 0.8919 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.83e-05/0.01403, allocations: 83.47 kB / 0.892 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.01428, allocations: 191.7 kB / 0.8922 GB, free: 7.586 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01428, allocations: 8 kB / 0.8922 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.01428, allocations: 0 / 0.8922 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01429, allocations: 7.922 kB / 0.8922 GB, free: 7.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008822/0.01517, allocations: 1.034 MB / 0.8932 GB, free: 6.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.01518, allocations: 8 kB / 0.8932 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.01528, allocations: 51.84 kB / 0.8932 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.01529, allocations: 4 kB / 0.8932 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.0153, allocations: 8 kB / 0.8933 GB, free: 6.352 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.0153, allocations: 11.98 kB / 0.8933 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.01531, allocations: 11.94 kB / 0.8933 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.01561, allocations: 392 kB / 0.8937 GB, free: 5.848 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.01568, allocations: 75.47 kB / 0.8937 GB, free: 5.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.01573, allocations: 12 kB / 0.8937 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.01586, allocations: 15.98 kB / 0.8938 GB, free: 5.746 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.459e-05/0.0159, allocations: 27.86 kB / 0.8938 GB, free: 5.719 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.01591, allocations: 11.98 kB / 0.8938 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004053/0.01632, allocations: 0.6317 MB / 0.8944 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.5e-07/0.01632, allocations: 0 / 0.8944 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00037/0.01669, allocations: 175.8 kB / 0.8946 GB, free: 4.906 MB / 0.8073 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.0002161/0.0169, allocations: 187 kB / 0.8948 GB, free: 4.711 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.01715, allocations: 151.4 kB / 0.8949 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.01715, allocations: 0 / 0.8949 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.211e-05/0.01722, allocations: 68.59 kB / 0.895 GB, free: 4.488 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.01766, allocations: 182.9 kB / 0.8951 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.01917, allocations: 1.349 MB / 0.8965 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.01931, allocations: 209.4 kB / 0.8967 GB, free: 2.617 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000149/0.01945, allocations: 72.39 kB / 0.8967 GB, free: 2.547 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.01973, allocations: 230 kB / 0.8969 GB, free: 2.32 MB / 0.8073 GB Notification: Performance of SimCode: time 1.152e-06/0.01974, allocations: 0 / 0.8969 GB, free: 2.32 MB / 0.8073 GB Notification: Performance of Templates: time 0.01506/0.0348, allocations: 11.82 MB / 0.9085 GB, free: 6.742 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.sim & ./Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_BaseClasses_Validation_WetFluid.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.584995362907648]