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.0009978/0.0009978, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001515/0.001515, allocations: 161 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 0.9565/0.9565, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.839/1.839, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] 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.813e-06/1.813e-06, allocations: 0 / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.147e-05/3.328e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01175/0.01178, allocations: 8.782 MB / 0.8201 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005756/0.01754, allocations: 3.296 MB / 0.8234 GB, free: 5.602 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005293/0.01807, allocations: 40.41 kB / 0.8234 GB, free: 5.562 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005803/0.01865, allocations: 182.3 kB / 0.8236 GB, free: 5.387 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.02021, allocations: 0.6625 MB / 0.8242 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.02161, allocations: 0.6478 MB / 0.8248 GB, free: 4.078 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002283/0.0239, allocations: 1.628 MB / 0.8264 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006696/0.02457, allocations: 412.7 kB / 0.8268 GB, free: 2.031 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.02594, allocations: 0.7605 MB / 0.8276 GB, free: 1.281 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006032/0.02654, allocations: 406.8 kB / 0.828 GB, free: 0.8828 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.793e-05/0.02663, allocations: 48 kB / 0.828 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.02717, allocations: 260.5 kB / 0.8283 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.02732, allocations: 143.4 kB / 0.8284 GB, free: 452 kB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002599/0.02758, allocations: 219.4 kB / 0.8286 GB, free: 232 kB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0009424/0.02852, allocations: 0.6198 MB / 0.8292 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.02853, allocations: 0 / 0.8292 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.222e-06/0.02853, allocations: 2.875 kB / 0.8292 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.02854, allocations: 0 / 0.8292 GB, free: 15.6 MB / 0.7917 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.001269/0.02981, allocations: 0.9042 MB / 0.8301 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.02985, allocations: 8.031 kB / 0.8301 GB, free: 14.65 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002847/0.03014, allocations: 109.8 kB / 0.8302 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007468/0.03088, allocations: 486.3 kB / 0.8307 GB, free: 14.05 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.03092, allocations: 37.38 kB / 0.8307 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.425e-05/0.03099, allocations: 40.38 kB / 0.8307 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.03164, allocations: 427.9 kB / 0.8311 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.03166, allocations: 0 / 0.8311 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.0317, allocations: 16 kB / 0.8312 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.064e-05/0.03174, allocations: 12 kB / 0.8312 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.03214, allocations: 157.8 kB / 0.8313 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002216/0.03435, allocations: 1.598 MB / 0.8329 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.03481, allocations: 166.4 kB / 0.833 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.03491, allocations: 63.66 kB / 0.8331 GB, free: 11.43 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002167/0.03513, allocations: 75.92 kB / 0.8332 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.03515, allocations: 37.33 kB / 0.8332 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.03515, allocations: 0 / 0.8332 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of matching and sorting (n=26): time 0.0003704/0.03552, allocations: 241.2 kB / 0.8334 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.03555, allocations: 55.41 kB / 0.8335 GB, free: 11 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.03584, allocations: 418.7 kB / 0.8339 GB, free: 10.58 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.03586, allocations: 33.7 kB / 0.8339 GB, free: 10.54 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.036, allocations: 323.2 kB / 0.8342 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.03605, allocations: 99.17 kB / 0.8343 GB, free: 10.12 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.0362, allocations: 79.62 kB / 0.8344 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.03632, allocations: 0.5274 MB / 0.8349 GB, free: 9.496 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.32e-05/0.0364, allocations: 40.62 kB / 0.835 GB, free: 9.457 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.03653, allocations: 219.8 kB / 0.8352 GB, free: 9.191 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.03674, allocations: 202.3 kB / 0.8354 GB, free: 8.961 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.03675, allocations: 0 / 0.8354 GB, free: 8.961 MB / 0.7917 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002938/0.03704, allocations: 265.1 kB / 0.8356 GB, free: 8.695 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.03706, allocations: 11.98 kB / 0.8356 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.03706, allocations: 0 / 0.8356 GB, free: 8.684 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.03708, allocations: 8.031 kB / 0.8356 GB, free: 8.676 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.03723, allocations: 72.12 kB / 0.8357 GB, free: 8.605 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.03724, allocations: 8 kB / 0.8357 GB, free: 8.598 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.03735, allocations: 27.78 kB / 0.8357 GB, free: 8.57 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.522e-05/0.03738, allocations: 19.98 kB / 0.8358 GB, free: 8.551 MB / 0.7917 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.0001046/0.03748, allocations: 176.4 kB / 0.8359 GB, free: 8.367 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.547e-05/0.03754, allocations: 55.72 kB / 0.836 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/0.03821, allocations: 322.7 kB / 0.8363 GB, free: 7.992 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.03822, allocations: 8 kB / 0.8363 GB, free: 7.984 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.03822, allocations: 4 kB / 0.8363 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002619/0.03849, allocations: 443.7 kB / 0.8367 GB, free: 7.48 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008748/0.03936, allocations: 0.839 MB / 0.8375 GB, free: 6.574 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.03937, allocations: 4 kB / 0.8375 GB, free: 6.57 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.03949, allocations: 56.09 kB / 0.8376 GB, free: 6.516 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.0395, allocations: 4 kB / 0.8376 GB, free: 6.512 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.03952, allocations: 11.94 kB / 0.8376 GB, free: 6.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.03952, allocations: 4 kB / 0.8376 GB, free: 6.496 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.03953, allocations: 11.92 kB / 0.8376 GB, free: 6.484 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004549/0.03998, allocations: 499.5 kB / 0.8381 GB, free: 5.953 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.04008, allocations: 103.5 kB / 0.8382 GB, free: 5.852 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.04012, allocations: 11.94 kB / 0.8382 GB, free: 5.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.04024, allocations: 11.98 kB / 0.8382 GB, free: 5.828 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.04027, allocations: 31.89 kB / 0.8383 GB, free: 5.797 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.04029, allocations: 12 kB / 0.8383 GB, free: 5.785 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001797/0.04047, allocations: 283 kB / 0.8385 GB, free: 5.508 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9e-08/0.04047, allocations: 4 kB / 0.8385 GB, free: 5.504 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003532/0.04082, allocations: 179.5 kB / 0.8387 GB, free: 5.328 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 (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.0002771/0.0411, allocations: 198.9 kB / 0.8389 GB, free: 5.121 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.000277/0.04138, allocations: 172.5 kB / 0.8391 GB, free: 4.949 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.04138, allocations: 3.938 kB / 0.8391 GB, free: 4.945 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.04149, allocations: 118.3 kB / 0.8392 GB, free: 4.828 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.04217, allocations: 260.8 kB / 0.8394 GB, free: 4.582 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.04367, allocations: 0.9219 MB / 0.8403 GB, free: 3.602 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.684e-05/0.04374, allocations: 133.8 kB / 0.8405 GB, free: 3.449 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002065/0.04395, allocations: 100.2 kB / 0.8406 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.04402, allocations: 48.48 kB / 0.8406 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of SimCode: time 7.01e-07/0.04402, allocations: 0 / 0.8406 GB, free: 3.301 MB / 0.7917 GB Notification: Performance of Templates: time 0.01381/0.05784, allocations: 10.95 MB / 0.8513 GB, free: 8.613 MB / 0.8073 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.487594984937459]