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.00141/0.00141, allocations: 80.8 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.001635/0.001635, allocations: 161 kB / 24.16 MB, free: 336 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.9988/0.9988, allocations: 177.2 MB / 204.6 MB, free: 5.488 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 2.007/2.007, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 177] 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.423e-06/1.423e-06, allocations: 0 / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.136e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.008265/0.008287, allocations: 8.783 MB / 0.7687 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004781/0.01307, allocations: 3.335 MB / 0.7719 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005304/0.0136, allocations: 35.69 kB / 0.7719 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004934/0.01409, allocations: 178.6 kB / 0.7721 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001252/0.01534, allocations: 0.6661 MB / 0.7728 GB, free: 9.598 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.0165, allocations: 0.6507 MB / 0.7734 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001789/0.01829, allocations: 1.614 MB / 0.775 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007942/0.01908, allocations: 431 kB / 0.7754 GB, free: 6.91 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008023/0.01989, allocations: 0.7432 MB / 0.7761 GB, free: 6.172 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004028/0.02029, allocations: 393.6 kB / 0.7765 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.02034, allocations: 44 kB / 0.7765 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004503/0.0208, allocations: 263.5 kB / 0.7768 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.0209, allocations: 151.4 kB / 0.7769 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.02107, allocations: 215.5 kB / 0.7771 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.02174, allocations: 0.619 MB / 0.7777 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.02174, allocations: 0 / 0.7777 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.102e-06/0.02174, allocations: 2.75 kB / 0.7777 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.02175, allocations: 0 / 0.7777 GB, free: 4.508 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.0007675/0.02251, allocations: 0.7717 MB / 0.7785 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.02255, allocations: 11.97 kB / 0.7785 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.02271, allocations: 94.88 kB / 0.7786 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.02322, allocations: 416.1 kB / 0.779 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.02325, allocations: 37.36 kB / 0.779 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.02329, allocations: 36.38 kB / 0.7791 GB, free: 3.109 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.02362, allocations: 396.5 kB / 0.7794 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.02364, allocations: 1.125 kB / 0.7794 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.02366, allocations: 16 kB / 0.7795 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.475e-05/0.02369, allocations: 12 kB / 0.7795 GB, free: 2.652 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.02385, allocations: 118.6 kB / 0.7796 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/0.02504, allocations: 1.118 MB / 0.7807 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.02529, allocations: 194.4 kB / 0.7809 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.02534, allocations: 51.66 kB / 0.7809 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.02551, allocations: 73.95 kB / 0.781 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.02553, allocations: 38.5 kB / 0.781 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=26): time 1.393e-06/0.02554, allocations: 0 / 0.781 GB, free: 1.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26): time 0.0002623/0.0258, allocations: 169 kB / 0.7812 GB, free: 0.8516 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.02582, allocations: 57.34 kB / 0.7812 GB, free: 0.7852 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005207/0.02634, allocations: 356.9 kB / 0.7816 GB, free: 432 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.02636, allocations: 33.7 kB / 0.7816 GB, free: 392 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.02653, allocations: 233.4 kB / 0.7818 GB, free: 148 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/0.02658, allocations: 95.16 kB / 0.7819 GB, free: 52 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/0.02666, allocations: 74.72 kB / 0.782 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.02675, allocations: 358.6 kB / 0.7823 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.866e-05/0.0268, allocations: 35.47 kB / 0.7824 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.02704, allocations: 182 kB / 0.7825 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.02719, allocations: 160.2 kB / 0.7827 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.02719, allocations: 7.875 kB / 0.7827 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001996/0.02739, allocations: 178.3 kB / 0.7829 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.0274, allocations: 8 kB / 0.7829 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.02741, allocations: 0 / 0.7829 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.02742, allocations: 5.75 kB / 0.7829 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.0276, allocations: 83.83 kB / 0.783 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.0276, allocations: 4 kB / 0.783 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.02771, allocations: 32.86 kB / 0.783 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.02773, allocations: 12 kB / 0.783 GB, free: 14.85 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 9.955e-05/0.02783, allocations: 130 kB / 0.7831 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.02788, allocations: 39.95 kB / 0.7832 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.02822, allocations: 263.9 kB / 0.7834 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.02823, allocations: 8.859 kB / 0.7834 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.02823, allocations: 0 / 0.7834 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001935/0.02843, allocations: 379.8 kB / 0.7838 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009208/0.02935, allocations: 0.691 MB / 0.7845 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.02935, allocations: 5.062 kB / 0.7845 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.02949, allocations: 59.89 kB / 0.7845 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.0295, allocations: 5.031 kB / 0.7845 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.02952, allocations: 8 kB / 0.7845 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.02952, allocations: 0 / 0.7845 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.02952, allocations: 8.875 kB / 0.7846 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.02984, allocations: 419.8 kB / 0.785 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.503e-05/0.02993, allocations: 67.61 kB / 0.785 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.02996, allocations: 8 kB / 0.785 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.03007, allocations: 8.969 kB / 0.785 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.0301, allocations: 27.89 kB / 0.7851 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.03012, allocations: 17.2 kB / 0.7851 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001147/0.03024, allocations: 151.5 kB / 0.7852 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.03024, allocations: 0 / 0.7852 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003354/0.03057, allocations: 179.6 kB / 0.7854 GB, free: 12.25 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.0002645/0.03084, allocations: 180.7 kB / 0.7856 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.03102, allocations: 151.4 kB / 0.7857 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.03103, allocations: 4 kB / 0.7857 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.618e-05/0.03112, allocations: 94.58 kB / 0.7858 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.03172, allocations: 256.1 kB / 0.786 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.03284, allocations: 0.8729 MB / 0.7869 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.882e-05/0.03292, allocations: 126.5 kB / 0.787 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000193/0.03311, allocations: 83.7 kB / 0.7871 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/0.03347, allocations: 235.8 kB / 0.7873 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.03347, allocations: 0.5938 kB / 0.7873 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of Templates: time 0.01332/0.04679, allocations: 10.86 MB / 0.7979 GB, free: 15.68 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 -s gbode -gbm=radauIIA3 -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.416926600970328]