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.001532/0.001532, allocations: 89.06 kB / 19.65 MB, free: 272 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.001498/0.001498, allocations: 177 kB / 23.02 MB, free: 1.539 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.084/1.084, allocations: 177.1 MB / 203.4 MB, free: 5.617 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 1.997/1.997, allocations: 429.5 MB / 0.6733 GB, free: 4.059 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.773e-06/1.773e-06, allocations: 0.6562 kB / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.2e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.004708/0.00473, allocations: 4.622 MB / 0.8827 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002054/0.006783, allocations: 2.792 MB / 0.8854 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.006854, allocations: 0 / 0.8854 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.007124, allocations: 47.67 kB / 0.8855 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002716/0.007396, allocations: 103.2 kB / 0.8856 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.008478, allocations: 0.5267 MB / 0.8861 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.008726, allocations: 251.7 kB / 0.8863 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.008767, allocations: 9.812 kB / 0.8863 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007541/0.009521, allocations: 0.4988 MB / 0.8868 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.009629, allocations: 75.77 kB / 0.8869 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.009651, allocations: 8 kB / 0.8869 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007032/0.01035, allocations: 0.4948 MB / 0.8874 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 6.839e-05/0.01042, allocations: 35.89 kB / 0.8874 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.01049, allocations: 59.83 kB / 0.8875 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.01096, allocations: 358.9 kB / 0.8878 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.01096, allocations: 3.938 kB / 0.8878 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.01e-07/0.01097, allocations: 4 kB / 0.8878 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.01097, allocations: 0 / 0.8878 GB, free: 12.44 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.0006085/0.01158, allocations: 0.5271 MB / 0.8883 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.01161, allocations: 8.031 kB / 0.8884 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.01177, allocations: 48.72 kB / 0.8884 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.01209, allocations: 156.4 kB / 0.8886 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.01211, allocations: 12.7 kB / 0.8886 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.01213, allocations: 16.38 kB / 0.8886 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.01243, allocations: 420 kB / 0.889 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.01244, allocations: 4.188 kB / 0.889 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.01246, allocations: 12.11 kB / 0.889 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.028e-05/0.01249, allocations: 8 kB / 0.889 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.01274, allocations: 295.5 kB / 0.8893 GB, free: 10.81 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/0.01349, allocations: 1.095 MB / 0.8904 GB, free: 9.656 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.0137, allocations: 137.8 kB / 0.8905 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.065e-05/0.01377, allocations: 47.7 kB / 0.8905 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004651/0.01423, allocations: 0.527 MB / 0.891 GB, free: 8.914 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.01426, allocations: 45.38 kB / 0.8911 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.01426, allocations: 0 / 0.8911 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0002331/0.01449, allocations: 125.5 kB / 0.8912 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.911e-05/0.01452, allocations: 51.41 kB / 0.8913 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.01464, allocations: 223.8 kB / 0.8915 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.01466, allocations: 33.7 kB / 0.8915 GB, free: 8.395 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.051e-05/0.01474, allocations: 190.8 kB / 0.8917 GB, free: 8.199 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.01477, allocations: 55.52 kB / 0.8917 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.01482, allocations: 63.31 kB / 0.8918 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.01494, allocations: 0.4961 MB / 0.8923 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.831e-05/0.01498, allocations: 23.98 kB / 0.8923 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.01509, allocations: 188.5 kB / 0.8925 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.01527, allocations: 225.8 kB / 0.8927 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01527, allocations: 0 / 0.8927 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002308/0.0155, allocations: 213.1 kB / 0.8929 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.01552, allocations: 4 kB / 0.8929 GB, free: 6.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.01552, allocations: 4 kB / 0.8929 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.01554, allocations: 8 kB / 0.8929 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.01566, allocations: 59.91 kB / 0.893 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.01567, allocations: 4.469 kB / 0.893 GB, free: 6.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.01573, allocations: 23.89 kB / 0.893 GB, free: 6.691 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.01575, allocations: 16 kB / 0.893 GB, free: 6.676 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 0.0001046/0.01585, allocations: 172.4 kB / 0.8932 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/0.0159, allocations: 23.91 kB / 0.8932 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002562/0.01616, allocations: 150.1 kB / 0.8933 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.01616, allocations: 0 / 0.8933 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.01617, allocations: 4 kB / 0.8934 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01617, allocations: 0 / 0.8934 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.01636, allocations: 164.5 kB / 0.8935 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.01636, allocations: 0 / 0.8935 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.226e-05/0.01644, allocations: 31.98 kB / 0.8935 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01645, allocations: 0 / 0.8935 GB, free: 6.09 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.01646, allocations: 8 kB / 0.8935 GB, free: 6.082 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.01646, allocations: 3.938 kB / 0.8936 GB, free: 6.078 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01646, allocations: 3.938 kB / 0.8936 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.01667, allocations: 266.8 kB / 0.8938 GB, free: 5.797 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.01672, allocations: 35.86 kB / 0.8938 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.01674, allocations: 0 / 0.8938 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.01686, allocations: 8 kB / 0.8939 GB, free: 5.754 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.01688, allocations: 15.97 kB / 0.8939 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.0169, allocations: 12 kB / 0.8939 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.732e-05/0.01696, allocations: 149.4 kB / 0.894 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01696, allocations: 0 / 0.894 GB, free: 5.582 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003869/0.01735, allocations: 83.83 kB / 0.8941 GB, free: 5.5 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.0002627/0.01761, allocations: 191 kB / 0.8943 GB, free: 5.305 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.01782, allocations: 112.5 kB / 0.8944 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01782, allocations: 0 / 0.8944 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.311e-05/0.01787, allocations: 47.59 kB / 0.8944 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003375/0.01821, allocations: 54.08 kB / 0.8945 GB, free: 5.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008035/0.01901, allocations: 319.4 kB / 0.8948 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.026e-05/0.01906, allocations: 75.98 kB / 0.8949 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001204/0.01918, allocations: 41.22 kB / 0.8949 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.01923, allocations: 24.5 kB / 0.8949 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of SimCode: time 6.12e-07/0.01923, allocations: 0 / 0.8949 GB, free: 4.59 MB / 0.8542 GB Notification: Performance of Templates: time 0.006169/0.0254, allocations: 3.5 MB / 0.8983 GB, free: 1.156 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.429318950977176]