Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001103/0.001103, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001308/0.001308, allocations: 170.1 kB / 24.86 MB, free: 9.289 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.087/1.087, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.846/1.846, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.7883 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.466e-05, allocations: 5.75 kB / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01114/0.01117, allocations: 12.89 MB / 0.8009 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002484/0.01365, allocations: 2.788 MB / 0.8037 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.583e-05/0.01374, allocations: 4 kB / 0.8037 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.01399, allocations: 47.62 kB / 0.8037 GB, free: 12.44 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.01422, allocations: 99.23 kB / 0.8038 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.01528, allocations: 0.5287 MB / 0.8043 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.01551, allocations: 239.8 kB / 0.8045 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.01555, allocations: 13.8 kB / 0.8046 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006324/0.02187, allocations: 3.638 MB / 0.8081 GB, free: 7.891 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.02199, allocations: 79.77 kB / 0.8082 GB, free: 7.812 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.02201, allocations: 8 kB / 0.8082 GB, free: 7.805 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001741/0.02375, allocations: 1.046 MB / 0.8092 GB, free: 6.754 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.0238, allocations: 39.89 kB / 0.8093 GB, free: 6.715 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 6.297e-05/0.02386, allocations: 63.83 kB / 0.8093 GB, free: 6.652 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.02435, allocations: 358.9 kB / 0.8097 GB, free: 6.301 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.02435, allocations: 0 / 0.8097 GB, free: 6.301 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.91e-07/0.02435, allocations: 4 kB / 0.8097 GB, free: 6.297 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.02435, allocations: 0 / 0.8097 GB, free: 6.297 MB / 0.7605 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.0004954/0.02485, allocations: 0.5345 MB / 0.8102 GB, free: 5.727 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.405e-05/0.02487, allocations: 12.03 kB / 0.8102 GB, free: 5.715 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.02501, allocations: 48.72 kB / 0.8102 GB, free: 5.668 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.02516, allocations: 160.4 kB / 0.8104 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.02517, allocations: 12.7 kB / 0.8104 GB, free: 5.473 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.0252, allocations: 16.38 kB / 0.8104 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.02548, allocations: 426 kB / 0.8108 GB, free: 4.961 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.02549, allocations: 8.188 kB / 0.8108 GB, free: 4.953 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.02551, allocations: 8.125 kB / 0.8108 GB, free: 4.945 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.02553, allocations: 8 kB / 0.8109 GB, free: 4.938 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.02579, allocations: 260.4 kB / 0.8111 GB, free: 4.684 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007772/0.02657, allocations: 0.9759 MB / 0.8121 GB, free: 3.66 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.02676, allocations: 127.3 kB / 0.8122 GB, free: 3.527 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.933e-05/0.0268, allocations: 35.72 kB / 0.8122 GB, free: 3.488 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005436/0.02735, allocations: 0.5387 MB / 0.8127 GB, free: 2.93 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.02737, allocations: 41.39 kB / 0.8128 GB, free: 2.879 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 9.52e-07/0.02738, allocations: 4 kB / 0.8128 GB, free: 2.875 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0001945/0.02757, allocations: 124 kB / 0.8129 GB, free: 2.75 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/0.02759, allocations: 55.41 kB / 0.813 GB, free: 2.684 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.0277, allocations: 216.4 kB / 0.8132 GB, free: 2.457 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.02772, allocations: 33.7 kB / 0.8132 GB, free: 2.418 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.0278, allocations: 198.7 kB / 0.8134 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.02783, allocations: 59.52 kB / 0.8134 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-05/0.02789, allocations: 59.3 kB / 0.8135 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.02802, allocations: 0.5 MB / 0.814 GB, free: 1.582 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.123e-05/0.02805, allocations: 19.98 kB / 0.814 GB, free: 1.562 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.02817, allocations: 174.9 kB / 0.8142 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.02835, allocations: 218.7 kB / 0.8144 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.02835, allocations: 0 / 0.8144 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002356/0.02859, allocations: 196.1 kB / 0.8146 GB, free: 0.8477 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.0286, allocations: 8 kB / 0.8146 GB, free: 0.8398 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.0286, allocations: 4 kB / 0.8146 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.02861, allocations: 4 kB / 0.8146 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.02875, allocations: 55.91 kB / 0.8146 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.02875, allocations: 4 kB / 0.8146 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.588e-05/0.02884, allocations: 27.78 kB / 0.8147 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.02885, allocations: 19.98 kB / 0.8147 GB, free: 0.7266 MB / 0.7605 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 9.727e-05/0.02895, allocations: 176.4 kB / 0.8148 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.029, allocations: 24.03 kB / 0.8149 GB, free: 0.5195 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.0292, allocations: 130.2 kB / 0.815 GB, free: 392 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.0292, allocations: 0 / 0.815 GB, free: 392 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.0292, allocations: 0 / 0.815 GB, free: 392 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.02921, allocations: 4 kB / 0.815 GB, free: 388 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.02937, allocations: 149 kB / 0.8151 GB, free: 212 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.02937, allocations: 0 / 0.8151 GB, free: 212 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.109e-05/0.02944, allocations: 27.98 kB / 0.8152 GB, free: 184 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.02944, allocations: 0 / 0.8152 GB, free: 184 kB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.02945, allocations: 11.94 kB / 0.8152 GB, free: 172 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.02945, allocations: 4 kB / 0.8152 GB, free: 168 kB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.02945, allocations: 0 / 0.8152 GB, free: 168 kB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.02964, allocations: 259.7 kB / 0.8154 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.0297, allocations: 39.84 kB / 0.8155 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.02971, allocations: 4 kB / 0.8155 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.02982, allocations: 12 kB / 0.8155 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.99e-05/0.02984, allocations: 11.97 kB / 0.8155 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.02986, allocations: 8 kB / 0.8155 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.422e-05/0.02992, allocations: 147.1 kB / 0.8156 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02992, allocations: 3.938 kB / 0.8156 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003429/0.03026, allocations: 79.81 kB / 0.8157 GB, free: 15.59 MB / 0.7761 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.0002277/0.03049, allocations: 201.5 kB / 0.8159 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001511/0.03064, allocations: 99.56 kB / 0.816 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.03064, allocations: 0 / 0.816 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.479e-05/0.03069, allocations: 51.53 kB / 0.8161 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.03098, allocations: 48.64 kB / 0.8161 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006488/0.03163, allocations: 327.1 kB / 0.8164 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.547e-05/0.03168, allocations: 71.98 kB / 0.8165 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001267/0.0318, allocations: 41.27 kB / 0.8165 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.03199, allocations: 158.1 kB / 0.8167 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.03199, allocations: 4 kB / 0.8167 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of Templates: time 0.006067/0.03806, allocations: 3.821 MB / 0.8204 GB, free: 10.8 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 5.406342843081802]