Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009974/0.0009974, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009421/0.0009421, allocations: 169 kB / 24.28 MB, free: 276 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.9937/0.9937, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.921/1.921, allocations: 377.8 MB / 0.6239 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 177] 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.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.875e-05, allocations: 3.625 kB / 0.8115 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01713/0.01715, allocations: 24.12 MB / 0.8351 GB, free: 9.898 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.005623/0.02278, allocations: 5.197 MB / 0.8402 GB, free: 4.691 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005274/0.0233, allocations: 39.69 kB / 0.8402 GB, free: 4.652 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0007223/0.02403, allocations: 285.9 kB / 0.8405 GB, free: 4.371 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.001473/0.0255, allocations: 0.8584 MB / 0.8413 GB, free: 3.508 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.02658, allocations: 0.8023 MB / 0.8421 GB, free: 2.703 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.02782, allocations: 1.656 MB / 0.8437 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.02824, allocations: 406.2 kB / 0.8441 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00113/0.02937, allocations: 0.9486 MB / 0.845 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004031/0.02977, allocations: 394.8 kB / 0.8454 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.405e-05/0.02983, allocations: 48 kB / 0.8455 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004766/0.03031, allocations: 422.9 kB / 0.8459 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.03042, allocations: 151.4 kB / 0.846 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.03058, allocations: 223.5 kB / 0.8462 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007605/0.03134, allocations: 0.7203 MB / 0.8469 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.03135, allocations: 0 / 0.8469 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.02e-07/0.03135, allocations: 3.938 kB / 0.8469 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.03136, allocations: 7.938 kB / 0.8469 GB, free: 13.74 MB / 0.8073 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.000913/0.03227, allocations: 0.9234 MB / 0.8478 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.0323, allocations: 8.031 kB / 0.8478 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.0325, allocations: 112.4 kB / 0.848 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006819/0.03319, allocations: 0.5454 MB / 0.8485 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.03321, allocations: 33.38 kB / 0.8485 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.03326, allocations: 36.38 kB / 0.8486 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.03368, allocations: 419.9 kB / 0.849 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.03369, allocations: 3.938 kB / 0.849 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.873e-05/0.03372, allocations: 16 kB / 0.849 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.03375, allocations: 12 kB / 0.849 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.03399, allocations: 161.8 kB / 0.8491 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001443/0.03543, allocations: 1.594 MB / 0.8507 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.03573, allocations: 159.3 kB / 0.8508 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.542e-05/0.03582, allocations: 63.66 kB / 0.8509 GB, free: 9.492 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.03603, allocations: 95.91 kB / 0.851 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.03606, allocations: 41.33 kB / 0.851 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.03606, allocations: 0 / 0.851 GB, free: 9.348 MB / 0.8073 GB Notification: Performance of matching and sorting (n=26): time 0.0004732/0.03653, allocations: 239.7 kB / 0.8513 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.379e-05/0.03657, allocations: 59.41 kB / 0.8513 GB, free: 9.039 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003058/0.03687, allocations: 422.6 kB / 0.8517 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.0369, allocations: 33.7 kB / 0.8518 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.03705, allocations: 319.2 kB / 0.8521 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.705e-05/0.0371, allocations: 103.2 kB / 0.8522 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.816e-05/0.03718, allocations: 79.62 kB / 0.8522 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.03733, allocations: 0.5274 MB / 0.8528 GB, free: 7.527 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.077e-05/0.03741, allocations: 44.62 kB / 0.8528 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.03757, allocations: 219.7 kB / 0.853 GB, free: 7.219 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.03779, allocations: 202.4 kB / 0.8532 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.03779, allocations: 0 / 0.8532 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003249/0.03812, allocations: 265.1 kB / 0.8535 GB, free: 6.723 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.03813, allocations: 8 kB / 0.8535 GB, free: 6.715 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.03814, allocations: 4.219 kB / 0.8535 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.03816, allocations: 7.984 kB / 0.8535 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.03832, allocations: 75.84 kB / 0.8535 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.03833, allocations: 4 kB / 0.8535 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.03844, allocations: 23.84 kB / 0.8536 GB, free: 6.602 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.417e-05/0.03846, allocations: 19.98 kB / 0.8536 GB, free: 6.582 MB / 0.8073 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.0001145/0.03858, allocations: 180.4 kB / 0.8538 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.03864, allocations: 51.72 kB / 0.8538 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.03907, allocations: 338.4 kB / 0.8541 GB, free: 6.008 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.03908, allocations: 7.984 kB / 0.8541 GB, free: 6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.03908, allocations: 0 / 0.8541 GB, free: 6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004493/0.03953, allocations: 462.7 kB / 0.8546 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008692/0.0404, allocations: 0.855 MB / 0.8554 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.0404, allocations: 0 / 0.8554 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.04053, allocations: 47.97 kB / 0.8555 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.04053, allocations: 4 kB / 0.8555 GB, free: 4.508 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.04055, allocations: 15.88 kB / 0.8555 GB, free: 4.492 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.04056, allocations: 4 kB / 0.8555 GB, free: 4.488 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.04056, allocations: 4 kB / 0.8555 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000463/0.04102, allocations: 0.5057 MB / 0.856 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.818e-05/0.04112, allocations: 91.78 kB / 0.8561 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.04116, allocations: 15.92 kB / 0.8561 GB, free: 3.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.04128, allocations: 11.95 kB / 0.8561 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.04131, allocations: 27.95 kB / 0.8561 GB, free: 3.789 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.04133, allocations: 15.98 kB / 0.8561 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000179/0.04151, allocations: 279.1 kB / 0.8564 GB, free: 3.504 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04151, allocations: 0 / 0.8564 GB, free: 3.504 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003786/0.04189, allocations: 207.5 kB / 0.8566 GB, free: 3.301 MB / 0.8073 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.0003416/0.04223, allocations: 294.6 kB / 0.8569 GB, free: 3 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.04251, allocations: 195.1 kB / 0.8571 GB, free: 2.805 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.04251, allocations: 0 / 0.8571 GB, free: 2.805 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.04264, allocations: 109.5 kB / 0.8572 GB, free: 2.695 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006738/0.04331, allocations: 259 kB / 0.8574 GB, free: 2.449 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.04452, allocations: 0.9318 MB / 0.8583 GB, free: 1.457 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.838e-05/0.0446, allocations: 133.8 kB / 0.8585 GB, free: 1.309 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002022/0.0448, allocations: 104.1 kB / 0.8586 GB, free: 1.203 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.04488, allocations: 52.48 kB / 0.8586 GB, free: 1.152 MB / 0.8073 GB Notification: Performance of SimCode: time 1.162e-06/0.04488, allocations: 0 / 0.8586 GB, free: 1.152 MB / 0.8073 GB Notification: Performance of Templates: time 0.01237/0.05725, allocations: 10.83 MB / 0.8692 GB, free: 6.594 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.475817606085911]