Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 107.8 kB / 16.37 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 193.1 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.288/2.288, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 61.77 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2268, allocations: 140.4 MB / 0.9511 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.6626/0.8895, allocations: 237.6 MB / 1.183 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02165/0.9111, allocations: 15.78 MB / 1.199 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00348/0.9147, allocations: 57.03 kB / 1.199 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003025/0.9177, allocations: 1.048 MB / 1.2 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.008049/0.9258, allocations: 2.978 MB / 1.203 GB, free: 0.7305 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004716/0.9305, allocations: 1.689 MB / 1.204 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005319/0.9359, allocations: 3.437 MB / 1.208 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002168/0.9381, allocations: 1.287 MB / 1.209 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006315/0.9444, allocations: 2.494 MB / 1.211 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002316/0.9467, allocations: 1.083 MB / 1.212 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003731/0.9471, allocations: 117.1 kB / 1.212 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005974/0.9531, allocations: 3.098 MB / 1.215 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006616/0.9538, allocations: 476.9 kB / 1.216 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.9551, allocations: 0.8052 MB / 1.217 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00555/0.9607, allocations: 2.966 MB / 1.22 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9607, allocations: 0 / 1.22 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9607, allocations: 0 / 1.22 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.119e-05/0.9608, allocations: 0 / 1.22 GB, free: 6.027 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003985/0.9648, allocations: 2.006 MB / 1.222 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.9648, allocations: 8.5 kB / 1.222 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002952/0.9678, allocations: 0.5018 MB / 1.222 GB, free: 4.289 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/0.9705, allocations: 1.17 MB / 1.223 GB, free: 3.375 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.347e-05/0.9705, allocations: 76.59 kB / 1.223 GB, free: 3.344 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.9707, allocations: 103.5 kB / 1.223 GB, free: 3.309 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.973, allocations: 1.348 MB / 1.225 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.973, allocations: 6.469 kB / 1.225 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.9731, allocations: 42.5 kB / 1.225 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/0.9732, allocations: 45.8 kB / 1.225 GB, free: 2.312 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.9754, allocations: 1.054 MB / 1.226 GB, free: 1.789 MB / 0.8887 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00797/0.9833, allocations: 7.384 MB / 1.233 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.9848, allocations: 0.5366 MB / 1.233 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005668/0.9854, allocations: 261.1 kB / 1.234 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003839/0.9858, allocations: 290.7 kB / 1.234 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.9858, allocations: 37.38 kB / 1.234 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 2.004e-06/0.9858, allocations: 0 / 1.234 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.002254/0.9881, allocations: 0.8386 MB / 1.235 GB, free: 9.863 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.9881, allocations: 56.09 kB / 1.235 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/0.9899, allocations: 1.392 MB / 1.236 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.338e-05/0.99, allocations: 36.36 kB / 1.236 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005299/0.9905, allocations: 0.7019 MB / 1.237 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.455e-05/0.9906, allocations: 118.1 kB / 1.237 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.9909, allocations: 164.9 kB / 1.237 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.991, allocations: 331 kB / 1.238 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007589/0.9918, allocations: 314.1 kB / 1.238 GB, free: 7.711 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009977/0.9928, allocations: 0.6921 MB / 1.239 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001596/0.9944, allocations: 0.9276 MB / 1.239 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/0.9944, allocations: 2.781 kB / 1.239 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002191/0.9966, allocations: 1.047 MB / 1.24 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.9966, allocations: 11.19 kB / 1.241 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.9967, allocations: 11.47 kB / 1.241 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.9967, allocations: 19.47 kB / 1.241 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008273/0.9975, allocations: 201 kB / 1.241 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.225e-05/0.9976, allocations: 25.27 kB / 1.241 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.9989, allocations: 180.9 kB / 1.241 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.964e-05/0.999, allocations: 49.86 kB / 1.241 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001112/1, allocations: 0.5697 MB / 1.242 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009853/1.001, allocations: 0.6835 MB / 1.242 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0016/1.003, allocations: 0.926 MB / 1.243 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.054e-06/1.003, allocations: 4.844 kB / 1.243 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002168/1.005, allocations: 1.051 MB / 1.244 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/1.005, allocations: 16.72 kB / 1.244 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/1.005, allocations: 12.09 kB / 1.244 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/1.005, allocations: 17.25 kB / 1.244 GB, free: 3.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008251/1.006, allocations: 207.9 kB / 1.244 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/1.006, allocations: 27.86 kB / 1.244 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/1.007, allocations: 123.5 kB / 1.245 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/1.007, allocations: 43.98 kB / 1.245 GB, free: 2.875 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * 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.0002346/1.007, allocations: 244.4 kB / 1.245 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/1.008, allocations: 138.3 kB / 1.245 GB, free: 2.492 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/1.009, allocations: 0.6365 MB / 1.246 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/1.009, allocations: 4 kB / 1.246 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.009, allocations: 96 / 1.246 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/1.009, allocations: 3.984 kB / 1.246 GB, free: 1.832 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003505/1.013, allocations: 1.906 MB / 1.247 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/1.013, allocations: 4 kB / 1.247 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004925/1.013, allocations: 92.08 kB / 1.248 GB, free: 15.72 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/1.013, allocations: 4 kB / 1.248 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/1.013, allocations: 12 kB / 1.248 GB, free: 15.7 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.013, allocations: 4 kB / 1.248 GB, free: 15.7 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.013, allocations: 11.92 kB / 1.248 GB, free: 15.69 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/1.015, allocations: 0.8033 MB / 1.248 GB, free: 14.82 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005329/1.015, allocations: 299.1 kB / 1.249 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/1.016, allocations: 12 kB / 1.249 GB, free: 14.49 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/1.017, allocations: 67.92 kB / 1.249 GB, free: 14.43 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/1.017, allocations: 39.78 kB / 1.249 GB, free: 14.39 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/1.017, allocations: 27.97 kB / 1.249 GB, free: 14.36 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001449/1.018, allocations: 1.001 MB / 1.25 GB, free: 13.36 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.41e-07/1.018, allocations: 0 / 1.25 GB, free: 13.36 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001737/1.02, allocations: 0.5735 MB / 1.25 GB, free: 12.79 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (32): * Single equations (assignments): 32 * Array equations: 0 * 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.0005512/1.021, allocations: 272.5 kB / 1.251 GB, free: 12.52 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002639/1.023, allocations: 1.128 MB / 1.252 GB, free: 11.4 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.023, allocations: 0 / 1.252 GB, free: 11.4 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006368/1.024, allocations: 260.2 kB / 1.252 GB, free: 11.14 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/1.027, allocations: 0.7388 MB / 1.253 GB, free: 10.41 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00461/1.032, allocations: 2.234 MB / 1.255 GB, free: 8.098 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007283/1.032, allocations: 1.19 MB / 1.256 GB, free: 6.879 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001327/1.034, allocations: 391.8 kB / 1.256 GB, free: 6.492 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/1.034, allocations: 99.41 kB / 1.256 GB, free: 6.395 MB / 0.92 GB Notification: Performance of SimCode: time 6.21e-07/1.034, allocations: 0 / 1.256 GB, free: 6.395 MB / 0.92 GB Notification: Performance of Templates: time 0.04407/1.078, allocations: 24.98 MB / 1.281 GB, free: 13.76 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches