Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.001308/0.001308, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001449/0.001449, allocations: 174 kB / 23.28 MB, free: 1.219 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.9343/0.9343, allocations: 177.1 MB / 203.7 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.312/2.312, allocations: 438.1 MB / 0.682 GB, free: 14.16 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.Media.Examples.PropyleneGlycolWaterProperties,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.Examples.PropyleneGlycolWaterProperties") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterProperties,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.Examples.PropyleneGlycolWaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.947e-05/3.113e-05, allocations: 5.266 kB / 0.8898 GB, free: 9.715 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007227/0.007259, allocations: 4.575 MB / 0.8942 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003054/0.01031, allocations: 2.811 MB / 0.897 GB, free: 2.289 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.01047, allocations: 3.938 kB / 0.897 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.01081, allocations: 35.77 kB / 0.897 GB, free: 2.25 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.01117, allocations: 103.2 kB / 0.8971 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.01277, allocations: 0.5286 MB / 0.8976 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.01314, allocations: 239.8 kB / 0.8979 GB, free: 1.383 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.469e-05/0.01319, allocations: 13.8 kB / 0.8979 GB, free: 1.367 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.01442, allocations: 0.5025 MB / 0.8984 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.01458, allocations: 75.77 kB / 0.8984 GB, free: 0.7891 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.445e-05/0.01461, allocations: 8 kB / 0.8984 GB, free: 0.7812 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.01589, allocations: 0.4949 MB / 0.8989 GB, free: 292 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.341e-05/0.01596, allocations: 35.83 kB / 0.899 GB, free: 256 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.39e-05/0.01604, allocations: 55.91 kB / 0.899 GB, free: 200 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008877/0.01693, allocations: 358.9 kB / 0.8994 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.01694, allocations: 0 / 0.8994 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.01694, allocations: 0 / 0.8994 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.01695, allocations: 0 / 0.8994 GB, free: 15.84 MB / 0.8698 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.000817/0.01776, allocations: 0.5345 MB / 0.8999 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.01781, allocations: 8.625 kB / 0.8999 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002056/0.01802, allocations: 48.77 kB / 0.8999 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.01824, allocations: 156.3 kB / 0.9001 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.01826, allocations: 16.64 kB / 0.9001 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.01829, allocations: 16.38 kB / 0.9001 GB, free: 15 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.01867, allocations: 404.1 kB / 0.9005 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.01868, allocations: 192 / 0.9005 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.0187, allocations: 12.12 kB / 0.9005 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/0.01874, allocations: 7.938 kB / 0.9005 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.01906, allocations: 255.5 kB / 0.9008 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.02013, allocations: 1.073 MB / 0.9018 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.02037, allocations: 123 kB / 0.9019 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/0.02044, allocations: 43.72 kB / 0.902 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009566/0.02139, allocations: 0.5457 MB / 0.9025 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.02143, allocations: 37.39 kB / 0.9025 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 3.536e-06/0.02143, allocations: 4 kB / 0.9025 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002051/0.02164, allocations: 113.5 kB / 0.9027 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.02166, allocations: 59.41 kB / 0.9027 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.805e-05/0.02176, allocations: 217.8 kB / 0.9029 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.02178, allocations: 29.7 kB / 0.9029 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.02185, allocations: 190.8 kB / 0.9031 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.02188, allocations: 59.45 kB / 0.9032 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.014e-05/0.02193, allocations: 63.3 kB / 0.9032 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.02204, allocations: 0.5 MB / 0.9037 GB, free: 11.06 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.573e-05/0.02207, allocations: 19.98 kB / 0.9038 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.411e-05/0.02216, allocations: 174.9 kB / 0.9039 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.0223, allocations: 225.5 kB / 0.9041 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.02231, allocations: 0 / 0.9041 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001905/0.0225, allocations: 193.6 kB / 0.9043 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.02251, allocations: 12.03 kB / 0.9043 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.02252, allocations: 4 kB / 0.9043 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.02253, allocations: 4 kB / 0.9043 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.02265, allocations: 55.91 kB / 0.9044 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.02266, allocations: 11.94 kB / 0.9044 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.177e-05/0.02272, allocations: 27.78 kB / 0.9044 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.02273, allocations: 16 kB / 0.9044 GB, free: 10.2 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 8.421e-05/0.02282, allocations: 172.5 kB / 0.9046 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/0.02284, allocations: 19.89 kB / 0.9046 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.02303, allocations: 142.1 kB / 0.9048 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.02304, allocations: 7.984 kB / 0.9048 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.02304, allocations: 0 / 0.9048 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.02305, allocations: 0 / 0.9048 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.02318, allocations: 141.1 kB / 0.9049 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.02318, allocations: 0 / 0.9049 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.02324, allocations: 27.98 kB / 0.9049 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.02324, allocations: 0 / 0.9049 GB, free: 9.656 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.02325, allocations: 8 kB / 0.9049 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.02325, allocations: 0 / 0.9049 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.02326, allocations: 0 / 0.9049 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.02347, allocations: 270.3 kB / 0.9052 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.02352, allocations: 31.81 kB / 0.9052 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.02353, allocations: 0 / 0.9052 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.02364, allocations: 12 kB / 0.9052 GB, free: 9.324 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.02366, allocations: 11.97 kB / 0.9052 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.02367, allocations: 8 kB / 0.9053 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.02372, allocations: 153.2 kB / 0.9054 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02372, allocations: 0 / 0.9054 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002695/0.02399, allocations: 71.88 kB / 0.9055 GB, free: 9.086 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.0002556/0.02425, allocations: 198.9 kB / 0.9057 GB, free: 8.879 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.0244, allocations: 103.4 kB / 0.9058 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.0244, allocations: 0.9375 kB / 0.9058 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.089e-05/0.02443, allocations: 39.59 kB / 0.9058 GB, free: 8.73 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002509/0.02468, allocations: 59.84 kB / 0.9059 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006696/0.02535, allocations: 328.5 kB / 0.9062 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.351e-05/0.02539, allocations: 71.98 kB / 0.9062 GB, free: 8.23 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001007/0.0255, allocations: 41.28 kB / 0.9063 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.02564, allocations: 146.1 kB / 0.9064 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of SimCode: time 8.71e-07/0.02564, allocations: 0 / 0.9064 GB, free: 8.043 MB / 0.8698 GB Notification: Performance of Templates: time 0.005221/0.03086, allocations: 3.448 MB / 0.9098 GB, free: 4.641 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.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.378307415638119]