Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.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.001186/0.001186, 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.001337/0.001337, allocations: 167.8 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.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.09 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.816/1.816, allocations: 359 MB / 0.6063 GB, free: 10.86 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.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.616e-05/2.841e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.2 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01105/0.01108, allocations: 8.66 MB / 0.7968 GB, free: 3.523 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.006636/0.01772, allocations: 3.261 MB / 0.8 GB, free: 284 kB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001285/0.019, allocations: 35.69 kB / 0.8 GB, free: 248 kB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.000742/0.01975, allocations: 182.6 kB / 0.8002 GB, free: 64 kB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.02195, allocations: 0.67 MB / 0.8008 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001773/0.02372, allocations: 0.6457 MB / 0.8015 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.002289/0.02601, allocations: 1.628 MB / 0.803 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008468/0.02686, allocations: 418.1 kB / 0.8034 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00169/0.02855, allocations: 0.7563 MB / 0.8042 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007591/0.0293, allocations: 422.7 kB / 0.8046 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.02942, allocations: 45.06 kB / 0.8046 GB, free: 11.51 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007657/0.03018, allocations: 251.5 kB / 0.8049 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.03035, allocations: 155.4 kB / 0.805 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0002803/0.03063, allocations: 212.6 kB / 0.8052 GB, free: 10.9 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.03185, allocations: 0.6267 MB / 0.8058 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.03185, allocations: 0 / 0.8058 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.532e-06/0.03185, allocations: 1.125 kB / 0.8058 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.03187, allocations: 0 / 0.8058 GB, free: 10.27 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001369/0.03323, allocations: 0.9013 MB / 0.8067 GB, free: 9.336 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.03328, allocations: 12.53 kB / 0.8067 GB, free: 9.324 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.03361, allocations: 114 kB / 0.8068 GB, free: 9.215 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008001/0.03441, allocations: 485.6 kB / 0.8073 GB, free: 8.711 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.03445, allocations: 29.38 kB / 0.8073 GB, free: 8.684 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.253e-05/0.03452, allocations: 40.38 kB / 0.8074 GB, free: 8.645 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005495/0.03507, allocations: 403.8 kB / 0.8077 GB, free: 8.199 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.03509, allocations: 0 / 0.8077 GB, free: 8.199 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.03513, allocations: 19.98 kB / 0.8078 GB, free: 8.18 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.415e-05/0.03517, allocations: 8 kB / 0.8078 GB, free: 8.172 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.03545, allocations: 134.8 kB / 0.8079 GB, free: 8.043 MB / 0.7605 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.002159/0.03761, allocations: 1.512 MB / 0.8094 GB, free: 6.484 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003689/0.03797, allocations: 155.3 kB / 0.8095 GB, free: 6.32 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.479e-05/0.03807, allocations: 55.64 kB / 0.8096 GB, free: 6.262 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003081/0.03838, allocations: 71.92 kB / 0.8096 GB, free: 6.191 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/0.03841, allocations: 37.39 kB / 0.8097 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 2.204e-06/0.03841, allocations: 0 / 0.8097 GB, free: 6.145 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.0004852/0.0389, allocations: 219 kB / 0.8099 GB, free: 5.926 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.03893, allocations: 55.41 kB / 0.8099 GB, free: 5.859 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004056/0.03934, allocations: 414.4 kB / 0.8103 GB, free: 5.434 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.03938, allocations: 37.7 kB / 0.8104 GB, free: 5.391 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000211/0.03959, allocations: 323.1 kB / 0.8107 GB, free: 5.066 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.667e-05/0.03967, allocations: 91.17 kB / 0.8108 GB, free: 4.977 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.0398, allocations: 83.59 kB / 0.8109 GB, free: 4.887 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.03998, allocations: 0.5273 MB / 0.8114 GB, free: 4.348 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.04006, allocations: 36.61 kB / 0.8114 GB, free: 4.312 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.04024, allocations: 207.8 kB / 0.8116 GB, free: 4.059 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.04052, allocations: 178.1 kB / 0.8118 GB, free: 3.852 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.04053, allocations: 0 / 0.8118 GB, free: 3.852 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004254/0.04095, allocations: 257.6 kB / 0.812 GB, free: 3.594 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.04097, allocations: 9.812 kB / 0.812 GB, free: 3.586 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.04098, allocations: 4 kB / 0.812 GB, free: 3.582 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.041, allocations: 8.219 kB / 0.812 GB, free: 3.574 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.04125, allocations: 67.91 kB / 0.8121 GB, free: 3.508 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.04126, allocations: 7.969 kB / 0.8121 GB, free: 3.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.04147, allocations: 31.78 kB / 0.8121 GB, free: 3.469 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.04151, allocations: 12 kB / 0.8121 GB, free: 3.457 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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.000157/0.04167, allocations: 180.4 kB / 0.8123 GB, free: 3.27 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.817e-05/0.04177, allocations: 55.75 kB / 0.8124 GB, free: 3.215 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005757/0.04234, allocations: 301.2 kB / 0.8127 GB, free: 2.91 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.04235, allocations: 4 kB / 0.8127 GB, free: 2.906 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.04236, allocations: 4 kB / 0.8127 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003649/0.04272, allocations: 428 kB / 0.8131 GB, free: 2.418 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.04408, allocations: 0.7576 MB / 0.8138 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.04408, allocations: 0 / 0.8138 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.04429, allocations: 51.91 kB / 0.8139 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.04429, allocations: 4 kB / 0.8139 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.04432, allocations: 8 kB / 0.8139 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.04433, allocations: 7.984 kB / 0.8139 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.04433, allocations: 7.875 kB / 0.8139 GB, free: 1.523 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.04492, allocations: 480.7 kB / 0.8144 GB, free: 1.012 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.04508, allocations: 83.59 kB / 0.8144 GB, free: 0.9297 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.351e-05/0.04513, allocations: 12.03 kB / 0.8144 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/0.0455, allocations: 11.98 kB / 0.8145 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.04554, allocations: 31.83 kB / 0.8145 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.121e-05/0.04557, allocations: 16 kB / 0.8145 GB, free: 0.8594 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001982/0.04577, allocations: 263 kB / 0.8148 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.04577, allocations: 0 / 0.8148 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005025/0.04627, allocations: 183.5 kB / 0.8149 GB, free: 436 kB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0003173/0.04659, allocations: 202.8 kB / 0.8151 GB, free: 224 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002601/0.04685, allocations: 155.8 kB / 0.8153 GB, free: 64 kB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.04685, allocations: 4.062 kB / 0.8153 GB, free: 60 kB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.04697, allocations: 101.4 kB / 0.8154 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007413/0.04771, allocations: 263.9 kB / 0.8156 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.049, allocations: 0.914 MB / 0.8165 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000101/0.0491, allocations: 133.8 kB / 0.8166 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002247/0.04932, allocations: 84.28 kB / 0.8167 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000383/0.04971, allocations: 281.9 kB / 0.817 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of SimCode: time 1.263e-06/0.04971, allocations: 0 / 0.817 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of Templates: time 0.0133/0.06301, allocations: 11 MB / 0.8277 GB, free: 3.5 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_HeatMeter.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.500946873333305]