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.001156/0.001156, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001099/0.001099, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.9023/0.9023, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.014/2.014, allocations: 429.5 MB / 0.6733 GB, free: 4.008 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 3.676e-06/3.676e-06, allocations: 3.984 kB / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/3.159e-05, allocations: 6.469 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.009957/0.009989, allocations: 2.249 MB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002481/0.01247, allocations: 1.375 MB / 0.8817 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/0.01568, allocations: 0 / 0.8817 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0007713/0.01645, allocations: 239 kB / 0.882 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.01763, allocations: 450.3 kB / 0.8824 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.767e-06/0.01764, allocations: 0 / 0.8824 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004402/0.01808, allocations: 406.3 kB / 0.8828 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.944e-05/0.01814, allocations: 12.59 kB / 0.8828 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.01839, allocations: 195.4 kB / 0.883 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003343/0.02173, allocations: 187.3 kB / 0.8832 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.332e-05/0.02178, allocations: 24 kB / 0.8832 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006539/0.02244, allocations: 283.5 kB / 0.8834 GB, free: 0.9062 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0003156/0.02275, allocations: 379.2 kB / 0.8838 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002395/0.02299, allocations: 195.5 kB / 0.884 GB, free: 352 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000854/0.02384, allocations: 0.6423 MB / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.02385, allocations: 0 / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.212e-06/0.02385, allocations: 0 / 0.8846 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.02386, allocations: 4 kB / 0.8846 GB, free: 15.69 MB / 0.8542 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.004273/0.02814, allocations: 1.007 MB / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.02818, allocations: 8.031 kB / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005375/0.02872, allocations: 132.4 kB / 0.8857 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.02938, allocations: 0.5087 MB / 0.8862 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.0294, allocations: 16.38 kB / 0.8863 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.02943, allocations: 12.38 kB / 0.8863 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.02981, allocations: 176.2 kB / 0.8864 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.02981, allocations: 192 / 0.8864 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.02984, allocations: 4.375 kB / 0.8864 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.02985, allocations: 7.938 kB / 0.8864 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/0.0302, allocations: 168.4 kB / 0.8866 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/0.03488, allocations: 1.058 MB / 0.8876 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.0353, allocations: 147.2 kB / 0.8878 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.03543, allocations: 51.67 kB / 0.8878 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.034e-05/0.03548, allocations: 27.97 kB / 0.8879 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.03551, allocations: 41.39 kB / 0.8879 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=19): time 1.854e-06/0.03551, allocations: 0 / 0.8879 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=19): time 0.0005305/0.03604, allocations: 232 kB / 0.8881 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.03608, allocations: 59.34 kB / 0.8882 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004158/0.04024, allocations: 1.046 MB / 0.8892 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.04026, allocations: 25.7 kB / 0.8892 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/0.04058, allocations: 414.9 kB / 0.8896 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.04063, allocations: 71.44 kB / 0.8897 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.04074, allocations: 67.23 kB / 0.8898 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.04095, allocations: 496.4 kB / 0.8902 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.0411, allocations: 59.97 kB / 0.8903 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.04127, allocations: 92.83 kB / 0.8904 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.04156, allocations: 159.8 kB / 0.8905 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.04156, allocations: 0 / 0.8905 GB, free: 9.441 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005277/0.04209, allocations: 281.2 kB / 0.8908 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.04211, allocations: 10.69 kB / 0.8908 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.04211, allocations: 3.938 kB / 0.8908 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.04213, allocations: 4 kB / 0.8908 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003296/0.04543, allocations: 63.89 kB / 0.8909 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.04543, allocations: 4 kB / 0.8909 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.04569, allocations: 27.83 kB / 0.8909 GB, free: 9.051 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.04572, allocations: 12 kB / 0.8909 GB, free: 9.039 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.0001364/0.04586, allocations: 164.5 kB / 0.8911 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.04597, allocations: 75.58 kB / 0.8911 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.0464, allocations: 211.8 kB / 0.8913 GB, free: 8.574 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.04641, allocations: 4 kB / 0.8913 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.04642, allocations: 3.938 kB / 0.8914 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.04642, allocations: 0 / 0.8914 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.04791, allocations: 1.173 MB / 0.8925 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.04791, allocations: 4 kB / 0.8925 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001932/0.0481, allocations: 47.91 kB / 0.8925 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.04812, allocations: 8.594 kB / 0.8926 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.04814, allocations: 4 kB / 0.8926 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.04815, allocations: 19.92 kB / 0.8926 GB, free: 7.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.04815, allocations: 7.938 kB / 0.8926 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.04862, allocations: 392.1 kB / 0.893 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.04875, allocations: 87.48 kB / 0.893 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.554e-05/0.04883, allocations: 8 kB / 0.893 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.04909, allocations: 19.92 kB / 0.8931 GB, free: 6.586 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.04914, allocations: 23.86 kB / 0.8931 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.04916, allocations: 23.98 kB / 0.8931 GB, free: 6.539 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007764/0.04994, allocations: 0.7138 MB / 0.8938 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.5e-07/0.04994, allocations: 3.938 kB / 0.8938 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005985/0.05054, allocations: 175.8 kB / 0.894 GB, free: 5.656 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.0003367/0.05088, allocations: 175 kB / 0.8941 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003824/0.05126, allocations: 155.7 kB / 0.8943 GB, free: 5.32 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.05126, allocations: 4.062 kB / 0.8943 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.05139, allocations: 67.47 kB / 0.8944 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007855/0.05217, allocations: 190 kB / 0.8945 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.0547, allocations: 1.352 MB / 0.8959 GB, free: 3.594 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.05491, allocations: 213.3 kB / 0.8961 GB, free: 3.363 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002393/0.05515, allocations: 64.39 kB / 0.8961 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.05529, allocations: 44.48 kB / 0.8962 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of SimCode: time 1.142e-06/0.05529, allocations: 0 / 0.8962 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of Templates: time 0.02153/0.07682, allocations: 11.57 MB / 0.9075 GB, free: 7.906 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: 5.389818282332271]