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.001025/0.001025, allocations: 80.39 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.001128/0.001128, allocations: 166.6 kB / 24.87 MB, free: 9.285 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.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.903/1.903, allocations: 377.9 MB / 0.6247 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.783e-06/1.783e-06, allocations: 0 / 0.8128 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.573e-05, allocations: 6.906 kB / 0.8128 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007063/0.007089, allocations: 4.841 MB / 0.8175 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002945/0.01003, allocations: 2.816 MB / 0.8203 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.01015, allocations: 0.5312 kB / 0.8203 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.01047, allocations: 44.95 kB / 0.8203 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006106/0.01108, allocations: 112.3 kB / 0.8204 GB, free: 9.578 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.01253, allocations: 0.5646 MB / 0.821 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.01278, allocations: 253.8 kB / 0.8212 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.01282, allocations: 9.812 kB / 0.8212 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.01301, allocations: 159.6 kB / 0.8214 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.01313, allocations: 79.77 kB / 0.8215 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.01315, allocations: 8 kB / 0.8215 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005201/0.01367, allocations: 331.8 kB / 0.8218 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.544e-05/0.01374, allocations: 43.27 kB / 0.8218 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.01379, allocations: 59.89 kB / 0.8219 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004519/0.01424, allocations: 370.8 kB / 0.8222 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.01425, allocations: 0 / 0.8222 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01425, allocations: 0 / 0.8222 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.01425, allocations: 0 / 0.8222 GB, free: 7.727 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.0005774/0.01483, allocations: 0.5271 MB / 0.8227 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.01486, allocations: 12.03 kB / 0.8228 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.015, allocations: 40.72 kB / 0.8228 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.01517, allocations: 172.8 kB / 0.823 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.01519, allocations: 13.23 kB / 0.823 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.01521, allocations: 21.88 kB / 0.823 GB, free: 6.883 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.01548, allocations: 422 kB / 0.8234 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.01549, allocations: 192 / 0.8234 GB, free: 6.391 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.01551, allocations: 16.12 kB / 0.8234 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.01554, allocations: 4.531 kB / 0.8234 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002058/0.01575, allocations: 254 kB / 0.8237 GB, free: 6.125 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000735/0.01648, allocations: 0.961 MB / 0.8246 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.01666, allocations: 121.7 kB / 0.8247 GB, free: 4.988 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.0167, allocations: 39.72 kB / 0.8248 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004726/0.01717, allocations: 0.5382 MB / 0.8253 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.0172, allocations: 37.39 kB / 0.8253 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.0172, allocations: 0 / 0.8253 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.000206/0.01741, allocations: 117.5 kB / 0.8254 GB, free: 4.223 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.01743, allocations: 59.41 kB / 0.8255 GB, free: 4.152 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.645e-05/0.01753, allocations: 216.1 kB / 0.8257 GB, free: 3.926 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.01755, allocations: 33.7 kB / 0.8257 GB, free: 3.887 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.207e-05/0.01762, allocations: 194.8 kB / 0.8259 GB, free: 3.691 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.01765, allocations: 55.52 kB / 0.826 GB, free: 3.637 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.0177, allocations: 60.27 kB / 0.826 GB, free: 3.57 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.01782, allocations: 0.4961 MB / 0.8265 GB, free: 3.062 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.728e-05/0.01784, allocations: 19.98 kB / 0.8265 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.157e-05/0.01793, allocations: 172 kB / 0.8267 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.01807, allocations: 218.8 kB / 0.8269 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01808, allocations: 0 / 0.8269 GB, free: 2.535 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001997/0.01828, allocations: 199.6 kB / 0.8271 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.01829, allocations: 8.781 kB / 0.8271 GB, free: 2.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.0183, allocations: 4 kB / 0.8271 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.01831, allocations: 4.562 kB / 0.8271 GB, free: 2.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.01842, allocations: 59.34 kB / 0.8272 GB, free: 2.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01843, allocations: 4 kB / 0.8272 GB, free: 2.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.01849, allocations: 27.84 kB / 0.8272 GB, free: 2.234 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002761/0.01876, allocations: 19.98 kB / 0.8272 GB, free: 2.215 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 8.889e-05/0.01885, allocations: 180.4 kB / 0.8274 GB, free: 2.027 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.01889, allocations: 23.89 kB / 0.8274 GB, free: 2.004 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.01907, allocations: 130.2 kB / 0.8275 GB, free: 1.871 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.01908, allocations: 0 / 0.8275 GB, free: 1.871 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.01908, allocations: 4 kB / 0.8275 GB, free: 1.867 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01908, allocations: 480 / 0.8275 GB, free: 1.867 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.01923, allocations: 145.1 kB / 0.8277 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01923, allocations: 0 / 0.8277 GB, free: 1.699 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.01929, allocations: 31.92 kB / 0.8277 GB, free: 1.668 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01929, allocations: 4 kB / 0.8277 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.0193, allocations: 8 kB / 0.8277 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.0193, allocations: 0 / 0.8277 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.01931, allocations: 3.938 kB / 0.8277 GB, free: 1.652 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.01946, allocations: 257.8 kB / 0.828 GB, free: 1.383 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.01951, allocations: 31.81 kB / 0.828 GB, free: 1.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.01952, allocations: 3.984 kB / 0.828 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.0196, allocations: 16 kB / 0.828 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.01962, allocations: 7.984 kB / 0.828 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.01964, allocations: 11.98 kB / 0.828 GB, free: 1.312 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.71e-05/0.01968, allocations: 150.2 kB / 0.8282 GB, free: 1.168 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01968, allocations: 0 / 0.8282 GB, free: 1.168 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002695/0.01995, allocations: 79.86 kB / 0.8282 GB, free: 1.09 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.0002426/0.02019, allocations: 179 kB / 0.8284 GB, free: 0.9062 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.02035, allocations: 111.9 kB / 0.8285 GB, free: 0.793 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.02035, allocations: 4 kB / 0.8285 GB, free: 0.7891 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.107e-05/0.02038, allocations: 34.2 kB / 0.8286 GB, free: 0.7539 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.02063, allocations: 51.75 kB / 0.8286 GB, free: 0.7031 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.02132, allocations: 327.4 kB / 0.8289 GB, free: 364 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.343e-05/0.02136, allocations: 75.98 kB / 0.829 GB, free: 268 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.02147, allocations: 45.39 kB / 0.829 GB, free: 220 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.02163, allocations: 150.1 kB / 0.8292 GB, free: 68 kB / 0.7761 GB Notification: Performance of SimCode: time 7.51e-07/0.02163, allocations: 0 / 0.8292 GB, free: 68 kB / 0.7761 GB Notification: Performance of Templates: time 0.005193/0.02682, allocations: 3.491 MB / 0.8326 GB, free: 12.64 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.2904608701355755]