Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.001674/0.001674, 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.00215/0.00215, allocations: 169 kB / 24.06 MB, free: 456 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.131/1.131, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.279/2.279, allocations: 429.5 MB / 0.6743 GB, free: 3.887 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.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0.5469 kB / 0.8794 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.311e-05, allocations: 8.922 kB / 0.8795 GB, free: 5.926 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01406/0.0141, allocations: 12.88 MB / 0.892 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.01668, allocations: 2.776 MB / 0.8947 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.01681, allocations: 0 / 0.8947 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.01716, allocations: 51.56 kB / 0.8948 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.01746, allocations: 107.3 kB / 0.8949 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001308/0.01877, allocations: 0.5297 MB / 0.8954 GB, free: 5.559 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.01905, allocations: 236.1 kB / 0.8956 GB, free: 5.324 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.413e-05/0.0191, allocations: 9.812 kB / 0.8956 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007432/0.02653, allocations: 3.649 MB / 0.8992 GB, free: 1.637 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.02675, allocations: 79.78 kB / 0.8993 GB, free: 1.559 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.02678, allocations: 8 kB / 0.8993 GB, free: 1.551 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.02915, allocations: 1.027 MB / 0.9003 GB, free: 0.5195 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.168e-05/0.02924, allocations: 47.81 kB / 0.9003 GB, free: 484 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.596e-05/0.02931, allocations: 59.89 kB / 0.9004 GB, free: 424 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006691/0.02998, allocations: 370.8 kB / 0.9008 GB, free: 52 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.02999, allocations: 4 kB / 0.9008 GB, free: 48 kB / 0.8542 GB Notification: Performance of FrontEnd: time 1.573e-06/0.02999, allocations: 0 / 0.9008 GB, free: 48 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.02999, allocations: 0 / 0.9008 GB, free: 48 kB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007251/0.03072, allocations: 0.5424 MB / 0.9013 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.03076, allocations: 12.03 kB / 0.9013 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.03093, allocations: 40.72 kB / 0.9013 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.03113, allocations: 160.4 kB / 0.9015 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.03114, allocations: 8.703 kB / 0.9015 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.03117, allocations: 24.38 kB / 0.9015 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.03147, allocations: 426 kB / 0.9019 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.03148, allocations: 4.172 kB / 0.9019 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.0315, allocations: 8.125 kB / 0.9019 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-05/0.03155, allocations: 8 kB / 0.9019 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.03179, allocations: 260.9 kB / 0.9022 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000848/0.03264, allocations: 0.9759 MB / 0.9031 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.03284, allocations: 128.5 kB / 0.9033 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.03289, allocations: 52.73 kB / 0.9033 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005353/0.03343, allocations: 0.5348 MB / 0.9038 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.03346, allocations: 45.33 kB / 0.9039 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.03346, allocations: 0 / 0.9039 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002417/0.0337, allocations: 116.9 kB / 0.904 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.03373, allocations: 55.41 kB / 0.904 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.03385, allocations: 218 kB / 0.9043 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.03387, allocations: 37.7 kB / 0.9043 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.34e-05/0.03395, allocations: 186.8 kB / 0.9045 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.03398, allocations: 59.52 kB / 0.9045 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.746e-05/0.03404, allocations: 55.3 kB / 0.9046 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.03418, allocations: 0.5 MB / 0.9051 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.063e-05/0.03421, allocations: 23.97 kB / 0.9051 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.03432, allocations: 172.4 kB / 0.9053 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.03449, allocations: 218.7 kB / 0.9055 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.03449, allocations: 0 / 0.9055 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002177/0.03471, allocations: 197.2 kB / 0.9057 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.03473, allocations: 8 kB / 0.9057 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.03473, allocations: 4 kB / 0.9057 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.03475, allocations: 4.469 kB / 0.9057 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.03488, allocations: 63.91 kB / 0.9057 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.03489, allocations: 7.938 kB / 0.9057 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.484e-05/0.03495, allocations: 23.78 kB / 0.9058 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.03497, allocations: 16 kB / 0.9058 GB, free: 10.46 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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.0001012/0.03507, allocations: 172.5 kB / 0.9059 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.03511, allocations: 19.89 kB / 0.906 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.03532, allocations: 141 kB / 0.9061 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.03534, allocations: 0 / 0.9061 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.03534, allocations: 0 / 0.9061 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.03534, allocations: 4 kB / 0.9061 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.0355, allocations: 141.1 kB / 0.9062 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.0355, allocations: 0 / 0.9062 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.136e-05/0.03558, allocations: 35.92 kB / 0.9063 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.03558, allocations: 0 / 0.9063 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.03559, allocations: 4 kB / 0.9063 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.03559, allocations: 0 / 0.9063 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.03559, allocations: 0 / 0.9063 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.03587, allocations: 263.7 kB / 0.9065 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.03593, allocations: 35.86 kB / 0.9066 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.03594, allocations: 0 / 0.9066 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-05/0.03603, allocations: 19.98 kB / 0.9066 GB, free: 9.59 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.03606, allocations: 11.92 kB / 0.9066 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.03607, allocations: 15.98 kB / 0.9066 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.356e-05/0.03613, allocations: 143.2 kB / 0.9067 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.03613, allocations: 0 / 0.9067 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003089/0.03644, allocations: 87.8 kB / 0.9068 GB, free: 9.336 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003133/0.03675, allocations: 187 kB / 0.907 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001607/0.03691, allocations: 103.9 kB / 0.9071 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.03691, allocations: 0.9375 kB / 0.9071 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.642e-05/0.03695, allocations: 46.56 kB / 0.9071 GB, free: 8.988 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.03724, allocations: 59.72 kB / 0.9072 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000792/0.03803, allocations: 311.1 kB / 0.9075 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.94e-05/0.03808, allocations: 68 kB / 0.9076 GB, free: 8.512 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001183/0.0382, allocations: 53.25 kB / 0.9076 GB, free: 8.461 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.03838, allocations: 158.1 kB / 0.9078 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of SimCode: time 1.563e-06/0.03838, allocations: 0 / 0.9078 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of Templates: time 0.00587/0.04425, allocations: 3.821 MB / 0.9115 GB, free: 4.547 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.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.059229631908238]