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.001165/0.001165, allocations: 75.69 kB / 20.97 MB, free: 3.57 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.0009346/0.0009346, allocations: 173 kB / 24.28 MB, free: 272 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 0.9764/0.9764, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.846/1.846, allocations: 359 MB / 0.6055 GB, free: 10.98 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 1.753e-06/1.753e-06, allocations: 0 / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.587e-05/2.762e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02251/0.02254, allocations: 24.09 MB / 0.8106 GB, free: 4.641 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.007011/0.02955, allocations: 5.201 MB / 0.8157 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009416/0.03049, allocations: 35.69 kB / 0.8158 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007634/0.03125, allocations: 285.9 kB / 0.816 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.03302, allocations: 0.8584 MB / 0.8169 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.03454, allocations: 0.8101 MB / 0.8177 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001753/0.03629, allocations: 1.64 MB / 0.8193 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006656/0.03696, allocations: 406.2 kB / 0.8196 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.03847, allocations: 0.847 MB / 0.8205 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006416/0.03911, allocations: 410.7 kB / 0.8209 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.249e-05/0.03919, allocations: 44 kB / 0.8209 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008497/0.04004, allocations: 430.8 kB / 0.8213 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.0402, allocations: 155.4 kB / 0.8215 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.04042, allocations: 215.5 kB / 0.8217 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.04162, allocations: 0.732 MB / 0.8224 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.04162, allocations: 4 kB / 0.8224 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.483e-06/0.04163, allocations: 0 / 0.8224 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.04164, allocations: 0 / 0.8224 GB, free: 8.582 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001138/0.04277, allocations: 0.9233 MB / 0.8233 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.04282, allocations: 12.03 kB / 0.8233 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.04309, allocations: 104.5 kB / 0.8234 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008164/0.04391, allocations: 0.5337 MB / 0.8239 GB, free: 6.949 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.04393, allocations: 29.38 kB / 0.824 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.04399, allocations: 40.38 kB / 0.824 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/0.04445, allocations: 427.9 kB / 0.8244 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.04447, allocations: 0 / 0.8244 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.0445, allocations: 16 kB / 0.8244 GB, free: 6.398 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.04453, allocations: 12 kB / 0.8244 GB, free: 6.387 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.04479, allocations: 161.8 kB / 0.8246 GB, free: 6.227 MB / 0.7761 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.001695/0.04648, allocations: 1.594 MB / 0.8261 GB, free: 4.574 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.04682, allocations: 173.5 kB / 0.8263 GB, free: 4.395 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.841e-05/0.04691, allocations: 63.66 kB / 0.8264 GB, free: 4.328 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/0.04717, allocations: 91.91 kB / 0.8265 GB, free: 4.238 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.04719, allocations: 41.39 kB / 0.8265 GB, free: 4.188 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=26): time 1.914e-06/0.0472, allocations: 3.938 kB / 0.8265 GB, free: 4.184 MB / 0.7761 GB Notification: Performance of matching and sorting (n=26): time 0.0004217/0.04762, allocations: 247.4 kB / 0.8267 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.04765, allocations: 55.41 kB / 0.8268 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/0.04796, allocations: 418.7 kB / 0.8272 GB, free: 3.449 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.04798, allocations: 29.7 kB / 0.8272 GB, free: 3.414 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.04815, allocations: 323.2 kB / 0.8275 GB, free: 3.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.04821, allocations: 99.23 kB / 0.8276 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/0.0483, allocations: 79.62 kB / 0.8277 GB, free: 2.906 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.04846, allocations: 0.5235 MB / 0.8282 GB, free: 2.371 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.04854, allocations: 48.62 kB / 0.8282 GB, free: 2.324 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.04871, allocations: 215.8 kB / 0.8285 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.04894, allocations: 202.1 kB / 0.8286 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.04895, allocations: 0 / 0.8286 GB, free: 1.832 MB / 0.7761 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003652/0.04931, allocations: 273.8 kB / 0.8289 GB, free: 1.559 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.04933, allocations: 4 kB / 0.8289 GB, free: 1.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.04934, allocations: 4 kB / 0.8289 GB, free: 1.551 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.04935, allocations: 4 kB / 0.8289 GB, free: 1.547 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.04952, allocations: 71.91 kB / 0.829 GB, free: 1.477 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.04953, allocations: 4 kB / 0.829 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.04966, allocations: 31.77 kB / 0.829 GB, free: 1.441 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.04969, allocations: 12 kB / 0.829 GB, free: 1.43 MB / 0.7761 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.0001253/0.04981, allocations: 180.4 kB / 0.8292 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.74e-05/0.04988, allocations: 55.78 kB / 0.8293 GB, free: 1.188 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004744/0.05035, allocations: 340.8 kB / 0.8296 GB, free: 0.8438 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.05036, allocations: 4 kB / 0.8296 GB, free: 0.8398 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.05037, allocations: 0 / 0.8296 GB, free: 0.8398 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003045/0.05067, allocations: 455 kB / 0.83 GB, free: 336 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.05174, allocations: 0.8503 MB / 0.8309 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.05175, allocations: 4 kB / 0.8309 GB, free: 15.41 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/0.0519, allocations: 51.91 kB / 0.8309 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.0519, allocations: 4 kB / 0.8309 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.05193, allocations: 11.94 kB / 0.8309 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.05193, allocations: 4 kB / 0.8309 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.05194, allocations: 7.938 kB / 0.8309 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005257/0.05246, allocations: 0.5184 MB / 0.8314 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.05258, allocations: 87.53 kB / 0.8315 GB, free: 14.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.05262, allocations: 19.88 kB / 0.8315 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.05275, allocations: 12 kB / 0.8316 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.05279, allocations: 23.89 kB / 0.8316 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.05282, allocations: 19.98 kB / 0.8316 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002271/0.05305, allocations: 279.1 kB / 0.8319 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.05305, allocations: 0 / 0.8319 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006028/0.05365, allocations: 211.4 kB / 0.8321 GB, free: 14.13 MB / 0.7917 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0004514/0.0541, allocations: 286.8 kB / 0.8323 GB, free: 13.84 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.05443, allocations: 181.1 kB / 0.8325 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.05444, allocations: 0 / 0.8325 GB, free: 13.66 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.05458, allocations: 117.9 kB / 0.8326 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007881/0.05537, allocations: 266.1 kB / 0.8329 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.05692, allocations: 0.9279 MB / 0.8338 GB, free: 12.3 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.576e-05/0.05702, allocations: 133.8 kB / 0.8339 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002641/0.05728, allocations: 108.2 kB / 0.834 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.194e-05/0.05736, allocations: 44.48 kB / 0.8341 GB, free: 12 MB / 0.7917 GB Notification: Performance of SimCode: time 1.342e-06/0.05736, allocations: 0 / 0.8341 GB, free: 12 MB / 0.7917 GB Notification: Performance of Templates: time 0.01535/0.07271, allocations: 10.83 MB / 0.8446 GB, free: 1.422 MB / 0.7917 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.428210381185636]