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.001247/0.001247, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001752/0.001752, 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.101/1.101, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.282/2.282, allocations: 429.5 MB / 0.6736 GB, free: 4.035 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.774e-06/1.774e-06, allocations: 0 / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.032e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.002626/0.002647, allocations: 2.23 MB / 0.8804 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.00462, allocations: 1.361 MB / 0.8817 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.935e-05/0.004719, allocations: 3.938 kB / 0.8817 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005635/0.005282, allocations: 231 kB / 0.8819 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000776/0.006058, allocations: 462.2 kB / 0.8824 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.991e-06/0.006064, allocations: 0 / 0.8824 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003179/0.006382, allocations: 402.4 kB / 0.8828 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.809e-05/0.00644, allocations: 12.59 kB / 0.8828 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.006591, allocations: 187.4 kB / 0.883 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.006775, allocations: 191.4 kB / 0.8831 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.006803, allocations: 27.94 kB / 0.8832 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.007186, allocations: 283.5 kB / 0.8834 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002609/0.007447, allocations: 379.1 kB / 0.8838 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.007603, allocations: 203.4 kB / 0.884 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005673/0.008171, allocations: 0.6305 MB / 0.8846 GB, free: 68 kB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.008174, allocations: 4 kB / 0.8846 GB, free: 64 kB / 0.8386 GB Notification: Performance of FrontEnd: time 6.21e-07/0.008175, allocations: 0 / 0.8846 GB, free: 64 kB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.008181, allocations: 0 / 0.8846 GB, free: 64 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.0008894/0.009071, allocations: 1.011 MB / 0.8856 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.009112, allocations: 8.031 kB / 0.8856 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003793/0.009491, allocations: 132.4 kB / 0.8857 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.009934, allocations: 0.5088 MB / 0.8862 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.009954, allocations: 12.38 kB / 0.8862 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.009976, allocations: 12.38 kB / 0.8863 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.01026, allocations: 184.1 kB / 0.8864 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.01027, allocations: 192 / 0.8864 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.01029, allocations: 4.375 kB / 0.8864 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.0103, allocations: 15.88 kB / 0.8865 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.01054, allocations: 160.5 kB / 0.8866 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.01169, allocations: 1.058 MB / 0.8876 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.01201, allocations: 143.2 kB / 0.8878 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.161e-05/0.0121, allocations: 55.66 kB / 0.8878 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.01214, allocations: 23.98 kB / 0.8878 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.01217, allocations: 49.39 kB / 0.8879 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.01217, allocations: 0 / 0.8879 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0003898/0.01256, allocations: 219.9 kB / 0.8881 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.0126, allocations: 63.34 kB / 0.8882 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007773/0.01338, allocations: 1.042 MB / 0.8892 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.0134, allocations: 33.7 kB / 0.8892 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.01363, allocations: 414.9 kB / 0.8896 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.01367, allocations: 67.42 kB / 0.8897 GB, free: 10.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.01375, allocations: 63.3 kB / 0.8897 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.01388, allocations: 496.4 kB / 0.8902 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.01398, allocations: 67.97 kB / 0.8903 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.0141, allocations: 92.58 kB / 0.8904 GB, free: 9.969 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.0143, allocations: 148.8 kB / 0.8905 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.01431, allocations: 4 kB / 0.8905 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003468/0.01465, allocations: 285.1 kB / 0.8908 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.01467, allocations: 4 kB / 0.8908 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.01468, allocations: 3.938 kB / 0.8908 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.01469, allocations: 4 kB / 0.8908 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.01486, allocations: 71.86 kB / 0.8909 GB, free: 9.445 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.01487, allocations: 4 kB / 0.8909 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.01501, allocations: 27.83 kB / 0.8909 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.01502, allocations: 8 kB / 0.8909 GB, free: 9.406 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.000117/0.01514, allocations: 168.5 kB / 0.8911 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.01521, allocations: 71.56 kB / 0.8911 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.01551, allocations: 211.9 kB / 0.8913 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01551, allocations: 4 kB / 0.8913 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01552, allocations: 3.938 kB / 0.8913 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.01552, allocations: 0 / 0.8913 GB, free: 8.934 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.01659, allocations: 1.174 MB / 0.8925 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.01659, allocations: 4 kB / 0.8925 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.0167, allocations: 43.91 kB / 0.8925 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.01671, allocations: 8 kB / 0.8925 GB, free: 7.582 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.01673, allocations: 11.98 kB / 0.8925 GB, free: 7.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.01674, allocations: 15.88 kB / 0.8926 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.01674, allocations: 4 kB / 0.8926 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.0171, allocations: 400.7 kB / 0.893 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.593e-05/0.01718, allocations: 83.48 kB / 0.893 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.22e-05/0.01723, allocations: 8 kB / 0.893 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.01736, allocations: 19.92 kB / 0.8931 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.0174, allocations: 35.83 kB / 0.8931 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.01742, allocations: 12 kB / 0.8931 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005039/0.01792, allocations: 0.7138 MB / 0.8938 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01792, allocations: 0 / 0.8938 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004203/0.01834, allocations: 179.8 kB / 0.894 GB, free: 6.023 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.0002536/0.0186, allocations: 175 kB / 0.8941 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.01886, allocations: 151.4 kB / 0.8943 GB, free: 5.691 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01886, allocations: 3.938 kB / 0.8943 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.506e-05/0.01895, allocations: 72.16 kB / 0.8944 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.01944, allocations: 185.8 kB / 0.8945 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/0.02127, allocations: 1.352 MB / 0.8959 GB, free: 3.965 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.02141, allocations: 209.4 kB / 0.8961 GB, free: 3.738 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001434/0.02156, allocations: 72.39 kB / 0.8961 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.442e-05/0.02164, allocations: 36.5 kB / 0.8962 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of SimCode: time 1.142e-06/0.02164, allocations: 0 / 0.8962 GB, free: 3.629 MB / 0.8542 GB Notification: Performance of Templates: time 0.01302/0.03467, allocations: 10.81 MB / 0.9067 GB, free: 9.035 MB / 0.8698 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: 6.149349692976102]