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.001014/0.001014, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009317/0.0009317, allocations: 181 kB / 24.09 MB, free: 420 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.015/1.015, allocations: 177.1 MB / 204.5 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.846/1.846, allocations: 377.9 MB / 0.624 GB, free: 8.414 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.843e-06/1.843e-06, allocations: 0 / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.578e-05, allocations: 3.219 kB / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004457/0.004473, allocations: 4.848 MB / 0.8168 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.006378, allocations: 2.814 MB / 0.8195 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.006443, allocations: 3.938 kB / 0.8195 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.006683, allocations: 54.09 kB / 0.8196 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002327/0.006916, allocations: 103.2 kB / 0.8197 GB, free: 9.617 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000936/0.007852, allocations: 0.5568 MB / 0.8202 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.008044, allocations: 247.8 kB / 0.8204 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.008088, allocations: 21.02 kB / 0.8205 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.008264, allocations: 155.5 kB / 0.8206 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.008369, allocations: 83.75 kB / 0.8207 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.008389, allocations: 8 kB / 0.8207 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.008758, allocations: 327.2 kB / 0.821 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.008813, allocations: 39.83 kB / 0.821 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.00886, allocations: 63.88 kB / 0.8211 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003784/0.009238, allocations: 365.2 kB / 0.8214 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.744e-06/0.00924, allocations: 0 / 0.8214 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.61e-07/0.009241, allocations: 0 / 0.8214 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.009244, allocations: 0 / 0.8214 GB, free: 7.777 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.0004789/0.009723, allocations: 0.531 MB / 0.822 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.009758, allocations: 12.03 kB / 0.822 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.009871, allocations: 49.64 kB / 0.822 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.01001, allocations: 164.3 kB / 0.8222 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.01003, allocations: 9.828 kB / 0.8222 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.01005, allocations: 24.38 kB / 0.8222 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.0103, allocations: 418.1 kB / 0.8226 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.01031, allocations: 1.219 kB / 0.8226 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.01033, allocations: 12.12 kB / 0.8226 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.01035, allocations: 9.062 kB / 0.8226 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002041/0.01056, allocations: 260.9 kB / 0.8229 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007048/0.01126, allocations: 0.9613 MB / 0.8238 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.01143, allocations: 120.2 kB / 0.8239 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.01147, allocations: 35.72 kB / 0.824 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004853/0.01195, allocations: 0.5555 MB / 0.8245 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.01198, allocations: 45.33 kB / 0.8246 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.01198, allocations: 0 / 0.8246 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0001925/0.01217, allocations: 120.7 kB / 0.8247 GB, free: 4.246 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.0122, allocations: 55.41 kB / 0.8247 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.0123, allocations: 221.5 kB / 0.8249 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.01232, allocations: 25.7 kB / 0.825 GB, free: 3.918 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.0124, allocations: 194.8 kB / 0.8251 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.01242, allocations: 56.23 kB / 0.8252 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.01248, allocations: 59.33 kB / 0.8253 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.01262, allocations: 0.4968 MB / 0.8257 GB, free: 3.094 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.665e-05/0.01264, allocations: 23.97 kB / 0.8258 GB, free: 3.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.01275, allocations: 172.8 kB / 0.8259 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.01291, allocations: 217.7 kB / 0.8261 GB, free: 2.559 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.01291, allocations: 4 kB / 0.8261 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000212/0.01313, allocations: 195.2 kB / 0.8263 GB, free: 2.359 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.01314, allocations: 8.031 kB / 0.8263 GB, free: 2.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.01315, allocations: 8 kB / 0.8263 GB, free: 2.344 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.01316, allocations: 4 kB / 0.8263 GB, free: 2.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.01327, allocations: 63.84 kB / 0.8264 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.01328, allocations: 11.94 kB / 0.8264 GB, free: 2.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/0.01335, allocations: 23.84 kB / 0.8264 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.01336, allocations: 8 kB / 0.8264 GB, free: 2.234 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.991e-05/0.01345, allocations: 184.4 kB / 0.8266 GB, free: 2.043 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.01348, allocations: 19.91 kB / 0.8266 GB, free: 2.023 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001818/0.01366, allocations: 126.3 kB / 0.8268 GB, free: 1.895 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.01367, allocations: 8 kB / 0.8268 GB, free: 1.887 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.01368, allocations: 0 / 0.8268 GB, free: 1.887 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01368, allocations: 0 / 0.8268 GB, free: 1.887 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003329/0.01401, allocations: 141.1 kB / 0.8269 GB, free: 1.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01401, allocations: 0 / 0.8269 GB, free: 1.723 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.305e-05/0.01408, allocations: 31.92 kB / 0.8269 GB, free: 1.691 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.01408, allocations: 4 kB / 0.8269 GB, free: 1.688 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.01409, allocations: 4 kB / 0.8269 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01409, allocations: 3.984 kB / 0.8269 GB, free: 1.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01409, allocations: 0 / 0.8269 GB, free: 1.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.01425, allocations: 266.3 kB / 0.8272 GB, free: 1.402 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.0143, allocations: 31.81 kB / 0.8272 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.01431, allocations: 4 kB / 0.8272 GB, free: 1.367 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.859e-05/0.01439, allocations: 11.98 kB / 0.8272 GB, free: 1.355 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.738e-05/0.0144, allocations: 7.984 kB / 0.8273 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.01442, allocations: 12 kB / 0.8273 GB, free: 1.336 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.511e-05/0.01447, allocations: 146.2 kB / 0.8274 GB, free: 1.195 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.01447, allocations: 0 / 0.8274 GB, free: 1.195 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000242/0.01471, allocations: 83.86 kB / 0.8275 GB, free: 1.113 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.0002614/0.01497, allocations: 191 kB / 0.8277 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001578/0.01513, allocations: 99.39 kB / 0.8278 GB, free: 0.8164 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.01513, allocations: 0 / 0.8278 GB, free: 0.8164 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.01517, allocations: 47.58 kB / 0.8278 GB, free: 0.7656 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.01544, allocations: 56.7 kB / 0.8279 GB, free: 0.7109 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007924/0.01623, allocations: 323.1 kB / 0.8282 GB, free: 376 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.254e-05/0.01629, allocations: 68 kB / 0.8282 GB, free: 288 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.559e-05/0.01638, allocations: 45.39 kB / 0.8283 GB, free: 240 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001648/0.01655, allocations: 154.1 kB / 0.8284 GB, free: 84 kB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.01655, allocations: 0 / 0.8284 GB, free: 84 kB / 0.7761 GB Notification: Performance of Templates: time 0.004925/0.02147, allocations: 3.442 MB / 0.8318 GB, free: 12.69 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.105097796302289]