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.001019/0.001019, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.001019/0.001019, allocations: 165 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.027/1.027, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.869/1.869, allocations: 359 MB / 0.6052 GB, free: 11.01 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.034e-06/2.034e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.998e-05/3.201e-05, allocations: 5.656 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01142/0.01145, allocations: 8.733 MB / 0.7956 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006972/0.01842, allocations: 3.297 MB / 0.7989 GB, free: 436 kB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.01956, allocations: 35.69 kB / 0.7989 GB, free: 400 kB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007584/0.02032, allocations: 178.6 kB / 0.7991 GB, free: 220 kB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.02212, allocations: 0.6701 MB / 0.7997 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.0233, allocations: 0.6475 MB / 0.8004 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00155/0.02485, allocations: 1.621 MB / 0.8019 GB, free: 13.27 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006248/0.02548, allocations: 417 kB / 0.8023 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/0.02649, allocations: 0.7287 MB / 0.803 GB, free: 12.15 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000477/0.02697, allocations: 417 kB / 0.8034 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 7.007e-05/0.02704, allocations: 44 kB / 0.8035 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004442/0.02749, allocations: 275.3 kB / 0.8038 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.02775, allocations: 151.4 kB / 0.8039 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.02791, allocations: 215.5 kB / 0.8041 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0008701/0.02878, allocations: 0.6346 MB / 0.8047 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.02879, allocations: 3.031 kB / 0.8047 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.523e-06/0.02879, allocations: 0 / 0.8047 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.0288, allocations: 0 / 0.8047 GB, free: 10.44 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.001032/0.02983, allocations: 0.9081 MB / 0.8056 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.02987, allocations: 8.031 kB / 0.8056 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.03009, allocations: 113.3 kB / 0.8057 GB, free: 9.375 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007277/0.03082, allocations: 0.5247 MB / 0.8062 GB, free: 8.828 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.03085, allocations: 33.31 kB / 0.8063 GB, free: 8.793 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.0309, allocations: 40.38 kB / 0.8063 GB, free: 8.754 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.03139, allocations: 421.2 kB / 0.8067 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.03141, allocations: 0 / 0.8067 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.03144, allocations: 19.98 kB / 0.8067 GB, free: 8.277 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/0.03147, allocations: 8 kB / 0.8067 GB, free: 8.27 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002672/0.03174, allocations: 166.5 kB / 0.8069 GB, free: 8.105 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.001901/0.03364, allocations: 1.595 MB / 0.8085 GB, free: 6.457 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.03399, allocations: 177.4 kB / 0.8086 GB, free: 6.273 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.805e-05/0.03407, allocations: 63.66 kB / 0.8087 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/0.03428, allocations: 71.92 kB / 0.8088 GB, free: 6.137 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.0343, allocations: 37.39 kB / 0.8088 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.0343, allocations: 0 / 0.8088 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of matching and sorting (n=26): time 0.0004621/0.03477, allocations: 247 kB / 0.809 GB, free: 5.844 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.0348, allocations: 51.41 kB / 0.8091 GB, free: 5.781 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.03511, allocations: 422.6 kB / 0.8095 GB, free: 5.355 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.03514, allocations: 33.7 kB / 0.8095 GB, free: 5.316 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.03529, allocations: 323.2 kB / 0.8098 GB, free: 4.992 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.03535, allocations: 87.23 kB / 0.8099 GB, free: 4.906 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.391e-05/0.03543, allocations: 83.62 kB / 0.81 GB, free: 4.816 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.03559, allocations: 0.5312 MB / 0.8105 GB, free: 4.273 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.03567, allocations: 40.62 kB / 0.8105 GB, free: 4.234 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.03597, allocations: 215.8 kB / 0.8107 GB, free: 3.973 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.03617, allocations: 190.1 kB / 0.8109 GB, free: 3.754 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.03618, allocations: 4 kB / 0.8109 GB, free: 3.75 MB / 0.7605 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003199/0.0365, allocations: 273.6 kB / 0.8112 GB, free: 3.477 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.03651, allocations: 8 kB / 0.8112 GB, free: 3.469 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.03652, allocations: 0 / 0.8112 GB, free: 3.469 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.03653, allocations: 4 kB / 0.8112 GB, free: 3.465 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.03669, allocations: 75.89 kB / 0.8113 GB, free: 3.391 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.0367, allocations: 12.16 kB / 0.8113 GB, free: 3.379 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.03683, allocations: 27.78 kB / 0.8113 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.03685, allocations: 19.98 kB / 0.8113 GB, free: 3.332 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.0001089/0.03696, allocations: 172.5 kB / 0.8115 GB, free: 3.152 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.03702, allocations: 55.72 kB / 0.8115 GB, free: 3.098 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.03743, allocations: 325.2 kB / 0.8119 GB, free: 2.766 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.03744, allocations: 7.984 kB / 0.8119 GB, free: 2.758 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.03745, allocations: 4 kB / 0.8119 GB, free: 2.754 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002869/0.03773, allocations: 444 kB / 0.8123 GB, free: 2.254 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008957/0.03863, allocations: 0.8468 MB / 0.8131 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.03863, allocations: 4 kB / 0.8131 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.03878, allocations: 48.16 kB / 0.8132 GB, free: 1.289 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.03879, allocations: 8 kB / 0.8132 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.03881, allocations: 11.94 kB / 0.8132 GB, free: 1.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.03881, allocations: 7.938 kB / 0.8132 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.03882, allocations: 4 kB / 0.8132 GB, free: 1.258 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004484/0.03926, allocations: 0.5006 MB / 0.8137 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.03937, allocations: 95.47 kB / 0.8138 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.0394, allocations: 11.94 kB / 0.8138 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.03952, allocations: 11.98 kB / 0.8138 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.03955, allocations: 19.97 kB / 0.8138 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.03957, allocations: 19.98 kB / 0.8138 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004644/0.04004, allocations: 279.1 kB / 0.8141 GB, free: 300 kB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.04004, allocations: 0 / 0.8141 GB, free: 300 kB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003595/0.0404, allocations: 179.6 kB / 0.8143 GB, free: 120 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.0003023/0.0407, allocations: 198.9 kB / 0.8145 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.04097, allocations: 175.4 kB / 0.8146 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.04097, allocations: 0 / 0.8146 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.04109, allocations: 108.3 kB / 0.8147 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006852/0.04177, allocations: 264.3 kB / 0.815 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.04298, allocations: 0.9257 MB / 0.8159 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.717e-05/0.04305, allocations: 133.8 kB / 0.816 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001956/0.04325, allocations: 92.27 kB / 0.8161 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.04333, allocations: 60.41 kB / 0.8162 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.04333, allocations: 0 / 0.8162 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of Templates: time 0.01136/0.05468, allocations: 9.634 MB / 0.8256 GB, free: 4.703 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.621346978936344]