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.001188/0.001188, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.0009486/0.0009486, allocations: 169 kB / 23.27 MB, free: 1.223 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.918/0.918, allocations: 177.2 MB / 203.7 MB, free: 5.527 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.259/2.259, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 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.793e-06/1.793e-06, allocations: 0 / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.508e-05/1.687e-05, allocations: 5.547 kB / 0.8898 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.BaseClasses.Validation.WetFluid): time 0.00213/0.002147, allocations: 2.213 MB / 0.8919 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.003628, allocations: 1.348 MB / 0.8933 GB, free: 6.148 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.906e-05/0.003687, allocations: 3.938 kB / 0.8933 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004455/0.004132, allocations: 247 kB / 0.8935 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005677/0.0047, allocations: 446.2 kB / 0.8939 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.057e-06/0.004704, allocations: 0 / 0.8939 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002367/0.004941, allocations: 406.3 kB / 0.8943 GB, free: 5.066 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.00498, allocations: 12.59 kB / 0.8943 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.00511, allocations: 191.4 kB / 0.8945 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.00527, allocations: 183.4 kB / 0.8947 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.005296, allocations: 24 kB / 0.8947 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.005623, allocations: 283.5 kB / 0.895 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002206/0.005844, allocations: 387.1 kB / 0.8953 GB, free: 4.004 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.005967, allocations: 203.4 kB / 0.8955 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.006424, allocations: 0.6344 MB / 0.8961 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.006426, allocations: 0 / 0.8961 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.81e-07/0.006427, allocations: 0 / 0.8961 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.00643, allocations: 0 / 0.8961 GB, free: 3.168 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.0006826/0.007113, allocations: 1.015 MB / 0.8971 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.007143, allocations: 8.031 kB / 0.8971 GB, free: 2.105 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/0.007426, allocations: 136.3 kB / 0.8973 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.007748, allocations: 481 kB / 0.8977 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.007762, allocations: 12.38 kB / 0.8977 GB, free: 1.465 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.00778, allocations: 12.38 kB / 0.8978 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.007966, allocations: 156.1 kB / 0.8979 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.007972, allocations: 4.188 kB / 0.8979 GB, free: 1.289 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.007987, allocations: 12.38 kB / 0.8979 GB, free: 1.277 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.007994, allocations: 7.938 kB / 0.8979 GB, free: 1.27 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.008143, allocations: 136.3 kB / 0.8981 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008524/0.008996, allocations: 0.9299 MB / 0.899 GB, free: 184 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.009203, allocations: 127.3 kB / 0.8991 GB, free: 44 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/0.009269, allocations: 55.94 kB / 0.8991 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/0.009306, allocations: 23.98 kB / 0.8992 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.009327, allocations: 45.34 kB / 0.8992 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.009328, allocations: 0 / 0.8992 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.000271/0.009599, allocations: 203.1 kB / 0.8994 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.009622, allocations: 51.41 kB / 0.8995 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005937/0.01022, allocations: 0.9795 MB / 0.9004 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.01023, allocations: 33.7 kB / 0.9004 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.01044, allocations: 406.8 kB / 0.9008 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.432e-05/0.01048, allocations: 79.3 kB / 0.9009 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.811e-05/0.01054, allocations: 67.31 kB / 0.901 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.01065, allocations: 496.4 kB / 0.9014 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.01073, allocations: 59.95 kB / 0.9015 GB, free: 13.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.335e-05/0.01082, allocations: 83.31 kB / 0.9016 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001562/0.01098, allocations: 133.3 kB / 0.9017 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01098, allocations: 0 / 0.9017 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002843/0.01127, allocations: 281.1 kB / 0.902 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.01128, allocations: 8 kB / 0.902 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01128, allocations: 4.031 kB / 0.902 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.256e-06/0.01129, allocations: 0 / 0.902 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.01144, allocations: 59.91 kB / 0.902 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.01144, allocations: 3.938 kB / 0.902 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.01157, allocations: 31.83 kB / 0.9021 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.01159, allocations: 7.984 kB / 0.9021 GB, free: 12.88 MB / 0.8698 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.557e-05/0.01168, allocations: 172.5 kB / 0.9023 GB, free: 12.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.219e-05/0.01174, allocations: 79.53 kB / 0.9023 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002319/0.01198, allocations: 201.9 kB / 0.9025 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01198, allocations: 3.984 kB / 0.9025 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01198, allocations: 0 / 0.9025 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01198, allocations: 7.938 kB / 0.9025 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008094/0.01279, allocations: 1.029 MB / 0.9035 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.01279, allocations: 4 kB / 0.9035 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.94e-05/0.01289, allocations: 51.91 kB / 0.9036 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.0129, allocations: 4 kB / 0.9036 GB, free: 11.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.01291, allocations: 8.594 kB / 0.9036 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.01291, allocations: 11.92 kB / 0.9036 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.01292, allocations: 12 kB / 0.9036 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.01318, allocations: 398 kB / 0.904 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.01324, allocations: 71.48 kB / 0.9041 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.228e-05/0.01329, allocations: 12 kB / 0.9041 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.01341, allocations: 15.98 kB / 0.9041 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.63e-05/0.01343, allocations: 23.86 kB / 0.9041 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.01345, allocations: 19.98 kB / 0.9041 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003495/0.0138, allocations: 0.6355 MB / 0.9048 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.0138, allocations: 0 / 0.9048 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002975/0.01409, allocations: 171.8 kB / 0.9049 GB, free: 9.742 MB / 0.8698 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.000186/0.01428, allocations: 175 kB / 0.9051 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001884/0.01447, allocations: 151.5 kB / 0.9052 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01447, allocations: 0 / 0.9052 GB, free: 9.406 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.043e-05/0.01454, allocations: 73.69 kB / 0.9053 GB, free: 9.332 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.01495, allocations: 187.9 kB / 0.9055 GB, free: 9.148 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.01634, allocations: 1.345 MB / 0.9068 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.01647, allocations: 213.2 kB / 0.907 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001229/0.01659, allocations: 68.41 kB / 0.9071 GB, free: 7.391 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.01685, allocations: 226 kB / 0.9073 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of SimCode: time 7.11e-07/0.01685, allocations: 0 / 0.9073 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of Templates: time 0.01164/0.02849, allocations: 11.66 MB / 0.9187 GB, free: 11.77 MB / 0.8855 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.163731099106371]