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.001177/0.001177, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001965/0.001965, 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.102/1.102, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.076/2.076, allocations: 429.5 MB / 0.6736 GB, free: 4.027 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.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.222e-06/1.222e-06, allocations: 0 / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.351e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004625/0.004639, allocations: 4.609 MB / 0.8827 GB, free: 2 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.006669, allocations: 2.798 MB / 0.8854 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.154e-05/0.006731, allocations: 3.938 kB / 0.8854 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.006962, allocations: 43.69 kB / 0.8855 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.007172, allocations: 103.2 kB / 0.8856 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006642/0.007836, allocations: 0.5169 MB / 0.8861 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.008032, allocations: 243.8 kB / 0.8863 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.008074, allocations: 13.8 kB / 0.8863 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006659/0.008739, allocations: 0.5065 MB / 0.8868 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.652e-05/0.008826, allocations: 75.77 kB / 0.8869 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.008846, allocations: 8 kB / 0.8869 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005388/0.009385, allocations: 0.4909 MB / 0.8874 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.009439, allocations: 31.89 kB / 0.8874 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.949e-05/0.009498, allocations: 63.83 kB / 0.8875 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.009882, allocations: 354.9 kB / 0.8878 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.009884, allocations: 0 / 0.8878 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.804e-06/0.009886, allocations: 8 kB / 0.8878 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.00989, allocations: 0 / 0.8878 GB, free: 12.74 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005743/0.01046, allocations: 0.5309 MB / 0.8883 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.0105, allocations: 8.031 kB / 0.8883 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.01065, allocations: 44.72 kB / 0.8884 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.01082, allocations: 156.4 kB / 0.8885 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.01084, allocations: 20.62 kB / 0.8886 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.01086, allocations: 20.38 kB / 0.8886 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.01116, allocations: 412.1 kB / 0.889 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.01117, allocations: 4.188 kB / 0.889 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.941e-05/0.01119, allocations: 12.12 kB / 0.889 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.164e-05/0.01122, allocations: 7.938 kB / 0.889 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002526/0.01147, allocations: 299.5 kB / 0.8893 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007301/0.0122, allocations: 1.095 MB / 0.8903 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.01259, allocations: 133 kB / 0.8905 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.238e-05/0.01265, allocations: 51.64 kB / 0.8905 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004521/0.01311, allocations: 0.5271 MB / 0.891 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.01313, allocations: 37.39 kB / 0.8911 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.01313, allocations: 0 / 0.8911 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002263/0.01336, allocations: 121.6 kB / 0.8912 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.146e-05/0.01339, allocations: 51.41 kB / 0.8912 GB, free: 8.973 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.0135, allocations: 235.5 kB / 0.8915 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.01351, allocations: 25.7 kB / 0.8915 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.01359, allocations: 186.9 kB / 0.8917 GB, free: 8.504 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.01361, allocations: 59.47 kB / 0.8917 GB, free: 8.445 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.01367, allocations: 71.3 kB / 0.8918 GB, free: 8.367 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.01378, allocations: 0.4922 MB / 0.8923 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.01382, allocations: 31.97 kB / 0.8923 GB, free: 7.832 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.01393, allocations: 176.2 kB / 0.8925 GB, free: 7.594 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001653/0.0141, allocations: 234 kB / 0.8927 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.0141, allocations: 0 / 0.8927 GB, free: 7.301 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002144/0.01431, allocations: 205.2 kB / 0.8929 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.01433, allocations: 8 kB / 0.8929 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.01433, allocations: 4 kB / 0.8929 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.01435, allocations: 4 kB / 0.8929 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.01446, allocations: 59.91 kB / 0.893 GB, free: 7.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.01447, allocations: 12.41 kB / 0.893 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.01453, allocations: 23.89 kB / 0.893 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.01454, allocations: 8 kB / 0.893 GB, free: 6.977 MB / 0.8542 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.263e-05/0.01462, allocations: 184.4 kB / 0.8932 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.01465, allocations: 19.91 kB / 0.8932 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.01485, allocations: 146.1 kB / 0.8933 GB, free: 6.617 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.01486, allocations: 4 kB / 0.8933 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.01486, allocations: 0 / 0.8933 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01487, allocations: 0 / 0.8933 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.01501, allocations: 168.5 kB / 0.8935 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01501, allocations: 4 kB / 0.8935 GB, free: 6.41 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.01507, allocations: 27.98 kB / 0.8935 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.01507, allocations: 4 kB / 0.8935 GB, free: 6.379 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.01508, allocations: 4 kB / 0.8935 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01508, allocations: 0 / 0.8935 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.01508, allocations: 3.984 kB / 0.8935 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.01525, allocations: 270.7 kB / 0.8938 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.01529, allocations: 27.86 kB / 0.8938 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.0153, allocations: 4 kB / 0.8938 GB, free: 6.059 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.821e-05/0.01539, allocations: 11.98 kB / 0.8938 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.01541, allocations: 11.98 kB / 0.8939 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.01543, allocations: 19.94 kB / 0.8939 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.194e-05/0.01548, allocations: 149.6 kB / 0.894 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01548, allocations: 0 / 0.894 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002439/0.01572, allocations: 79.81 kB / 0.8941 GB, free: 5.793 MB / 0.8542 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.0002217/0.01594, allocations: 187 kB / 0.8943 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.0161, allocations: 116.3 kB / 0.8944 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.0161, allocations: 0 / 0.8944 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.123e-05/0.01614, allocations: 47.59 kB / 0.8944 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.0164, allocations: 48.77 kB / 0.8945 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007072/0.0171, allocations: 319.5 kB / 0.8948 GB, free: 5.047 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.825e-05/0.01715, allocations: 75.98 kB / 0.8948 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00011/0.01726, allocations: 45.27 kB / 0.8949 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.0173, allocations: 28.48 kB / 0.8949 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of SimCode: time 8.22e-07/0.0173, allocations: 0 / 0.8949 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of Templates: time 0.004799/0.0221, allocations: 3.062 MB / 0.8979 GB, free: 1.891 MB / 0.8542 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.585028897039592]