Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterProperties.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.0009944/0.0009944, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009927/0.0009927, allocations: 161 kB / 23.82 MB, free: 0.75 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.005/1.005, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.94/1.94, allocations: 377.8 MB / 0.6236 GB, free: 8.57 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.Examples.WaterProperties,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_12_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,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_12_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.8115 GB, free: 1.742 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.989e-05, allocations: 9.062 kB / 0.8116 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005139/0.005169, allocations: 4.87 MB / 0.8163 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00219/0.007359, allocations: 2.837 MB / 0.8191 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.00747, allocations: 0 / 0.8191 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.007772, allocations: 47.69 kB / 0.8191 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.008054, allocations: 109.1 kB / 0.8192 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.009252, allocations: 0.5723 MB / 0.8198 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.00953, allocations: 256.8 kB / 0.82 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.388e-05/0.009584, allocations: 9.812 kB / 0.82 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.009813, allocations: 160.7 kB / 0.8202 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.009937, allocations: 75.78 kB / 0.8203 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.009961, allocations: 8 kB / 0.8203 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005837/0.01054, allocations: 328.2 kB / 0.8206 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.341e-05/0.01063, allocations: 43.88 kB / 0.8206 GB, free: 8.441 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.334e-05/0.0107, allocations: 63.83 kB / 0.8207 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.01122, allocations: 359.6 kB / 0.821 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.01123, allocations: 4 kB / 0.821 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.303e-06/0.01123, allocations: 1.875 kB / 0.821 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.01123, allocations: 0 / 0.821 GB, free: 8.023 MB / 0.7761 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.000681/0.01192, allocations: 0.531 MB / 0.8216 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.01196, allocations: 12.03 kB / 0.8216 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.01213, allocations: 50.05 kB / 0.8216 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001943/0.01233, allocations: 156.3 kB / 0.8218 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.01234, allocations: 8.703 kB / 0.8218 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.01237, allocations: 21.09 kB / 0.8218 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.01272, allocations: 438.1 kB / 0.8222 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.01273, allocations: 0.8438 kB / 0.8222 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.01275, allocations: 15.81 kB / 0.8222 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-05/0.01279, allocations: 8 kB / 0.8222 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.01306, allocations: 307.9 kB / 0.8225 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.01417, allocations: 0.9832 MB / 0.8235 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.01442, allocations: 128 kB / 0.8236 GB, free: 5.184 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.564e-05/0.01449, allocations: 47.67 kB / 0.8237 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005539/0.01504, allocations: 0.5328 MB / 0.8242 GB, free: 4.582 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.01507, allocations: 37.39 kB / 0.8242 GB, free: 4.535 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.01507, allocations: 3.938 kB / 0.8242 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0002627/0.01533, allocations: 130.5 kB / 0.8243 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.01536, allocations: 55.41 kB / 0.8244 GB, free: 4.332 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.01548, allocations: 220.6 kB / 0.8246 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.0155, allocations: 28.17 kB / 0.8246 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.01557, allocations: 190.8 kB / 0.8248 GB, free: 3.879 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.0156, allocations: 63.5 kB / 0.8249 GB, free: 3.816 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.01565, allocations: 55.36 kB / 0.8249 GB, free: 3.754 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.01578, allocations: 0.5 MB / 0.8254 GB, free: 3.242 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.468e-05/0.01582, allocations: 23.98 kB / 0.8254 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.01593, allocations: 174.9 kB / 0.8256 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001763/0.0161, allocations: 224.3 kB / 0.8258 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.01611, allocations: 0 / 0.8258 GB, free: 2.699 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002415/0.01635, allocations: 219.7 kB / 0.826 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.01636, allocations: 7.984 kB / 0.826 GB, free: 2.473 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.01637, allocations: 4 kB / 0.826 GB, free: 2.469 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.01639, allocations: 8 kB / 0.826 GB, free: 2.461 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.01652, allocations: 55.92 kB / 0.8261 GB, free: 2.406 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.01652, allocations: 7.984 kB / 0.8261 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.215e-05/0.01659, allocations: 23.84 kB / 0.8261 GB, free: 2.375 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.0166, allocations: 12 kB / 0.8261 GB, free: 2.363 MB / 0.7761 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.409e-05/0.0167, allocations: 176.5 kB / 0.8263 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.01673, allocations: 31.84 kB / 0.8263 GB, free: 2.148 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.01698, allocations: 134.3 kB / 0.8265 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.01699, allocations: 0 / 0.8265 GB, free: 2.012 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.01699, allocations: 4 kB / 0.8265 GB, free: 2.008 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.017, allocations: 3.984 kB / 0.8265 GB, free: 2.004 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.01716, allocations: 168.5 kB / 0.8266 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01716, allocations: 0 / 0.8266 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.254e-05/0.01723, allocations: 27.98 kB / 0.8267 GB, free: 1.777 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01723, allocations: 0 / 0.8267 GB, free: 1.777 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01724, allocations: 8 kB / 0.8267 GB, free: 1.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01725, allocations: 7.938 kB / 0.8267 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01725, allocations: 0 / 0.8267 GB, free: 1.762 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.01744, allocations: 259.8 kB / 0.8269 GB, free: 1.488 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.01749, allocations: 31.81 kB / 0.827 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.01751, allocations: 11.92 kB / 0.827 GB, free: 1.445 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.753e-05/0.01759, allocations: 8 kB / 0.827 GB, free: 1.438 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.01762, allocations: 11.98 kB / 0.827 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.01764, allocations: 7.984 kB / 0.827 GB, free: 1.418 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.038e-05/0.0177, allocations: 147.4 kB / 0.8271 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.0177, allocations: 0 / 0.8271 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002989/0.018, allocations: 83.86 kB / 0.8272 GB, free: 1.191 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.0002667/0.01826, allocations: 187 kB / 0.8274 GB, free: 1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.01845, allocations: 114.2 kB / 0.8275 GB, free: 0.8867 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01845, allocations: 4 kB / 0.8275 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/0.01849, allocations: 39.67 kB / 0.8275 GB, free: 0.8398 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.01877, allocations: 56.7 kB / 0.8276 GB, free: 0.7852 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008229/0.01959, allocations: 327.1 kB / 0.8279 GB, free: 448 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.662e-05/0.01963, allocations: 71.98 kB / 0.828 GB, free: 356 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.01974, allocations: 45.39 kB / 0.828 GB, free: 308 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.01978, allocations: 24.5 kB / 0.828 GB, free: 284 kB / 0.7761 GB Notification: Performance of SimCode: time 9.71e-07/0.01978, allocations: 0 / 0.828 GB, free: 284 kB / 0.7761 GB Notification: Performance of Templates: time 0.005389/0.02517, allocations: 3.05 MB / 0.831 GB, free: 13.3 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterProperties.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.395201064180583]