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.001257/0.001257, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001185/0.001185, 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.147/1.147, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.184/2.184, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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 2.345e-06/2.345e-06, allocations: 0.875 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.005e-05/3.239e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007538/0.00757, allocations: 4.588 MB / 0.8839 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003351/0.01092, allocations: 2.803 MB / 0.8866 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.0111, allocations: 8 kB / 0.8866 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.01149, allocations: 39.7 kB / 0.8867 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003874/0.01188, allocations: 99.28 kB / 0.8868 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.01365, allocations: 0.5247 MB / 0.8873 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004473/0.0141, allocations: 247.8 kB / 0.8875 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.664e-05/0.01417, allocations: 9.812 kB / 0.8875 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001274/0.01544, allocations: 0.4987 MB / 0.888 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.01564, allocations: 79.77 kB / 0.8881 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.616e-05/0.01568, allocations: 8 kB / 0.8881 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.01699, allocations: 0.4948 MB / 0.8886 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.01711, allocations: 39.88 kB / 0.8886 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.209e-05/0.0172, allocations: 59.84 kB / 0.8887 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008766/0.01808, allocations: 350.9 kB / 0.889 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.01808, allocations: 7.938 kB / 0.889 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.504e-06/0.01809, allocations: 0 / 0.889 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.01809, allocations: 0 / 0.889 GB, free: 12.17 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.0009194/0.01901, allocations: 0.5348 MB / 0.8895 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.01906, allocations: 8.031 kB / 0.8895 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.0193, allocations: 40.73 kB / 0.8896 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.01958, allocations: 160.4 kB / 0.8897 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.0196, allocations: 12.69 kB / 0.8897 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.01964, allocations: 24.36 kB / 0.8898 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.02005, allocations: 396.1 kB / 0.8902 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.02006, allocations: 4.188 kB / 0.8902 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.02009, allocations: 12.11 kB / 0.8902 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.956e-05/0.02014, allocations: 8 kB / 0.8902 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.0205, allocations: 255.5 kB / 0.8904 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.02177, allocations: 1.076 MB / 0.8915 GB, free: 9.461 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.02206, allocations: 122.7 kB / 0.8916 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.695e-05/0.02212, allocations: 43.7 kB / 0.8916 GB, free: 9.285 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007764/0.0229, allocations: 0.5231 MB / 0.8921 GB, free: 8.742 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.02294, allocations: 37.39 kB / 0.8922 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 2.374e-06/0.02294, allocations: 0 / 0.8922 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0003186/0.02326, allocations: 121.5 kB / 0.8923 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.0233, allocations: 51.41 kB / 0.8923 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.02347, allocations: 228 kB / 0.8926 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.02349, allocations: 25.7 kB / 0.8926 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.02361, allocations: 198.8 kB / 0.8928 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.02365, allocations: 55.47 kB / 0.8928 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.433e-05/0.02373, allocations: 67.28 kB / 0.8929 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.02392, allocations: 0.4961 MB / 0.8934 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.044e-05/0.02397, allocations: 23.98 kB / 0.8934 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.02413, allocations: 176.4 kB / 0.8936 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002714/0.0244, allocations: 222.4 kB / 0.8938 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.02441, allocations: 0 / 0.8938 GB, free: 6.855 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003525/0.02476, allocations: 193.1 kB / 0.894 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.02478, allocations: 4 kB / 0.894 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.0248, allocations: 8.453 kB / 0.894 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.02481, allocations: 8 kB / 0.894 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.025, allocations: 59.92 kB / 0.894 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.02501, allocations: 7.984 kB / 0.894 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.02513, allocations: 23.88 kB / 0.8941 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.02515, allocations: 12 kB / 0.8941 GB, free: 6.539 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.0001403/0.02529, allocations: 176.4 kB / 0.8942 GB, free: 6.355 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.02535, allocations: 19.91 kB / 0.8943 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003011/0.02565, allocations: 142.1 kB / 0.8944 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.02566, allocations: 4 kB / 0.8944 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.02567, allocations: 4 kB / 0.8944 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.02567, allocations: 0 / 0.8944 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.02589, allocations: 145.1 kB / 0.8945 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.0259, allocations: 0 / 0.8945 GB, free: 6.016 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.026, allocations: 27.98 kB / 0.8946 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.026, allocations: 0 / 0.8946 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.02602, allocations: 4 kB / 0.8946 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.02602, allocations: 0 / 0.8946 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.02602, allocations: 4 kB / 0.8946 GB, free: 5.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.02629, allocations: 262.4 kB / 0.8948 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.02635, allocations: 27.86 kB / 0.8949 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.02637, allocations: 8 kB / 0.8949 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.02652, allocations: 11.98 kB / 0.8949 GB, free: 5.66 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.02655, allocations: 7.984 kB / 0.8949 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.02657, allocations: 15.98 kB / 0.8949 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.556e-05/0.02665, allocations: 141.6 kB / 0.895 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.02665, allocations: 0 / 0.895 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004675/0.02711, allocations: 91.75 kB / 0.8951 GB, free: 5.41 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.0003707/0.02748, allocations: 191 kB / 0.8953 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.02771, allocations: 103.9 kB / 0.8954 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.02771, allocations: 0 / 0.8954 GB, free: 5.109 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.786e-05/0.02777, allocations: 43.59 kB / 0.8954 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.02818, allocations: 56.83 kB / 0.8955 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.02919, allocations: 322.9 kB / 0.8958 GB, free: 4.664 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.947e-05/0.02925, allocations: 68 kB / 0.8959 GB, free: 4.578 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001548/0.0294, allocations: 49.27 kB / 0.8959 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.02961, allocations: 142.1 kB / 0.8961 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of SimCode: time 9.52e-07/0.02961, allocations: 0 / 0.8961 GB, free: 4.387 MB / 0.8542 GB Notification: Performance of Templates: time 0.007677/0.03729, allocations: 3.495 MB / 0.8995 GB, free: 0.9609 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: 6.032590868882835]