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.001028/0.001028, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001092/0.001092, allocations: 161 kB / 24.17 MB, free: 332 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.9564/0.9564, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.871/1.871, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.573e-06/1.573e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.587e-05, allocations: 2.812 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.008906/0.008932, allocations: 8.738 MB / 0.7686 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004779/0.01371, allocations: 3.338 MB / 0.7718 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006135/0.01432, allocations: 39.62 kB / 0.7719 GB, free: 10.54 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004859/0.01481, allocations: 178.6 kB / 0.772 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.01603, allocations: 0.6641 MB / 0.7727 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.01714, allocations: 0.647 MB / 0.7733 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001541/0.01868, allocations: 1.628 MB / 0.7749 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008398/0.01952, allocations: 414.8 kB / 0.7753 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.02069, allocations: 0.7545 MB / 0.776 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000524/0.02121, allocations: 382.7 kB / 0.7764 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.821e-05/0.02128, allocations: 50.91 kB / 0.7764 GB, free: 5.84 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005031/0.02178, allocations: 267.4 kB / 0.7767 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.0219, allocations: 151.4 kB / 0.7768 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.02206, allocations: 207.5 kB / 0.777 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0008132/0.02288, allocations: 0.6229 MB / 0.7777 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.02288, allocations: 4 kB / 0.7777 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.342e-06/0.02288, allocations: 0 / 0.7777 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.02289, allocations: 0 / 0.7777 GB, free: 4.598 MB / 0.7292 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.000907/0.0238, allocations: 0.7712 MB / 0.7784 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.02384, allocations: 8.031 kB / 0.7784 GB, free: 3.797 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.02403, allocations: 88.75 kB / 0.7785 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005279/0.02455, allocations: 422.5 kB / 0.7789 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.483e-05/0.02458, allocations: 29.38 kB / 0.7789 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.032e-05/0.02463, allocations: 48.3 kB / 0.779 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.02498, allocations: 392.5 kB / 0.7794 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.02499, allocations: 0 / 0.7794 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.02501, allocations: 16 kB / 0.7794 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/0.02504, allocations: 12 kB / 0.7794 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.02521, allocations: 120.6 kB / 0.7795 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.02652, allocations: 1.124 MB / 0.7806 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.02678, allocations: 182.9 kB / 0.7808 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/0.02684, allocations: 52.66 kB / 0.7808 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001798/0.02702, allocations: 68.53 kB / 0.7809 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.02704, allocations: 39.06 kB / 0.7809 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.02704, allocations: 0.625 kB / 0.7809 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26): time 0.0002615/0.0273, allocations: 165.6 kB / 0.7811 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.02733, allocations: 60.91 kB / 0.7811 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.02757, allocations: 360.9 kB / 0.7815 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.02759, allocations: 33.7 kB / 0.7815 GB, free: 492 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.0277, allocations: 230 kB / 0.7817 GB, free: 252 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.02775, allocations: 99.14 kB / 0.7818 GB, free: 152 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.376e-05/0.02782, allocations: 70.58 kB / 0.7819 GB, free: 76 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.02795, allocations: 358.6 kB / 0.7822 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.053e-05/0.028, allocations: 36.47 kB / 0.7823 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.0281, allocations: 173.2 kB / 0.7824 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.02829, allocations: 168.3 kB / 0.7826 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.02829, allocations: 0 / 0.7826 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002061/0.0285, allocations: 190.3 kB / 0.7828 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.02851, allocations: 4 kB / 0.7828 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.02852, allocations: 4 kB / 0.7828 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.02853, allocations: 0.9375 kB / 0.7828 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.02868, allocations: 76.89 kB / 0.7829 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.02869, allocations: 4 kB / 0.7829 GB, free: 15 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.0288, allocations: 27.78 kB / 0.7829 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.02882, allocations: 20.84 kB / 0.7829 GB, free: 14.96 MB / 0.7448 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.0001032/0.02892, allocations: 133.5 kB / 0.783 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.02897, allocations: 39.91 kB / 0.7831 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.02932, allocations: 256.6 kB / 0.7833 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.02933, allocations: 4 kB / 0.7833 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.02933, allocations: 5.188 kB / 0.7833 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002716/0.0296, allocations: 383.8 kB / 0.7837 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008734/0.03048, allocations: 0.6946 MB / 0.7844 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.03048, allocations: 4 kB / 0.7844 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.0306, allocations: 49.53 kB / 0.7844 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.03061, allocations: 4 kB / 0.7844 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.03063, allocations: 8 kB / 0.7844 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.03063, allocations: 7.938 kB / 0.7844 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.03064, allocations: 5.312 kB / 0.7845 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.03099, allocations: 418.8 kB / 0.7848 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.527e-05/0.03108, allocations: 73.27 kB / 0.7849 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.03112, allocations: 8 kB / 0.7849 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.03123, allocations: 8.094 kB / 0.7849 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.03126, allocations: 31.88 kB / 0.785 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.03129, allocations: 11.98 kB / 0.785 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002508/0.03154, allocations: 148.1 kB / 0.7851 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.03154, allocations: 1.656 kB / 0.7851 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004086/0.03195, allocations: 183.6 kB / 0.7853 GB, free: 12.36 MB / 0.7448 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.0002939/0.03224, allocations: 183.5 kB / 0.7855 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.03245, allocations: 147.6 kB / 0.7856 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.03246, allocations: 4 kB / 0.7856 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.272e-05/0.03255, allocations: 93.73 kB / 0.7857 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.03327, allocations: 262.2 kB / 0.786 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.03459, allocations: 0.8647 MB / 0.7868 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.374e-05/0.03468, allocations: 129.8 kB / 0.7869 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002312/0.03491, allocations: 85.91 kB / 0.787 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.03527, allocations: 239 kB / 0.7872 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of SimCode: time 1.523e-06/0.03528, allocations: 0 / 0.7872 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of Templates: time 0.01433/0.0496, allocations: 10.85 MB / 0.7978 GB, free: 15.8 MB / 0.7605 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.337862899992615]