Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.001377/0.001377, allocations: 93.16 kB / 19.65 MB, free: 292 kB / 13.93 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.0009477/0.0009477, allocations: 172.9 kB / 23.02 MB, free: 1.562 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.9338/0.9338, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.996/1.996, allocations: 429.5 MB / 0.6732 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.703e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1279/0.1279, allocations: 146.5 MB / 1.021 GB, free: 3.23 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.001858/0.1298, allocations: 1.249 MB / 1.023 GB, free: 1.98 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.13, allocations: 15.88 kB / 1.023 GB, free: 1.965 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003353/0.1303, allocations: 91.19 kB / 1.023 GB, free: 1.875 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0008386/0.1312, allocations: 385.8 kB / 1.023 GB, free: 1.496 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008962/0.1321, allocations: 450.7 kB / 1.023 GB, free: 1.055 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.000728/0.1328, allocations: 0.6737 MB / 1.024 GB, free: 384 kB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.1331, allocations: 189.5 kB / 1.024 GB, free: 196 kB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000613/0.1337, allocations: 363 kB / 1.025 GB, free: 15.84 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.134, allocations: 195.4 kB / 1.025 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.134, allocations: 24 kB / 1.025 GB, free: 15.62 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005684/0.1346, allocations: 303.1 kB / 1.025 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.1347, allocations: 119.6 kB / 1.025 GB, free: 15.21 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1348, allocations: 115.8 kB / 1.025 GB, free: 15.09 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006085/0.1354, allocations: 438.5 kB / 1.026 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1354, allocations: 0 / 1.026 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1354, allocations: 0 / 1.026 GB, free: 14.66 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.1354, allocations: 0 / 1.026 GB, free: 14.66 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007005/0.1361, allocations: 0.6433 MB / 1.026 GB, free: 13.98 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.1362, allocations: 12.03 kB / 1.026 GB, free: 13.97 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007437/0.1369, allocations: 212.1 kB / 1.027 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006086/0.1376, allocations: 251.5 kB / 1.027 GB, free: 13.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1376, allocations: 20.88 kB / 1.027 GB, free: 13.48 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.1376, allocations: 28.31 kB / 1.027 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.1379, allocations: 235.1 kB / 1.027 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.1379, allocations: 0 / 1.027 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.957e-05/0.1379, allocations: 12 kB / 1.027 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.138, allocations: 4 kB / 1.027 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001395/0.1381, allocations: 83.88 kB / 1.027 GB, free: 13.09 MB / 0.9948 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.0009876/0.1391, allocations: 1.136 MB / 1.028 GB, free: 11.9 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.1392, allocations: 98.91 kB / 1.028 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.306e-05/0.1393, allocations: 35.67 kB / 1.028 GB, free: 11.75 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002179/0.1395, allocations: 47.94 kB / 1.028 GB, free: 11.71 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.1395, allocations: 41.33 kB / 1.029 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/0.1395, allocations: 0 / 1.029 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0003646/0.1399, allocations: 157.7 kB / 1.029 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1399, allocations: 55.41 kB / 1.029 GB, free: 11.43 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.1401, allocations: 292.2 kB / 1.029 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1401, allocations: 33.62 kB / 1.029 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.1403, allocations: 231 kB / 1.029 GB, free: 10.86 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.1403, allocations: 55.53 kB / 1.029 GB, free: 10.8 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.1403, allocations: 47.33 kB / 1.029 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1405, allocations: 0.5079 MB / 1.03 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.027e-05/0.1405, allocations: 23.98 kB / 1.03 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.1406, allocations: 171.1 kB / 1.03 GB, free: 9.992 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.1408, allocations: 126.1 kB / 1.03 GB, free: 9.844 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1408, allocations: 0 / 1.03 GB, free: 9.844 MB / 0.9948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002017/0.141, allocations: 160.8 kB / 1.03 GB, free: 9.684 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.141, allocations: 8 kB / 1.03 GB, free: 9.676 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.141, allocations: 0 / 1.03 GB, free: 9.676 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.141, allocations: 4 kB / 1.03 GB, free: 9.672 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1411, allocations: 39.91 kB / 1.03 GB, free: 9.633 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1411, allocations: 8.094 kB / 1.03 GB, free: 9.625 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.233e-05/0.1412, allocations: 19.89 kB / 1.03 GB, free: 9.605 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.1413, allocations: 8 kB / 1.03 GB, free: 9.598 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.625e-05/0.1413, allocations: 172.5 kB / 1.031 GB, free: 9.418 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.232e-05/0.1414, allocations: 27.84 kB / 1.031 GB, free: 9.391 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.1416, allocations: 143 kB / 1.031 GB, free: 9.25 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1416, allocations: 0 / 1.031 GB, free: 9.25 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1416, allocations: 0 / 1.031 GB, free: 9.25 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1416, allocations: 0 / 1.031 GB, free: 9.25 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005618/0.1422, allocations: 0.573 MB / 1.031 GB, free: 8.605 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1422, allocations: 4 kB / 1.031 GB, free: 8.602 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.452e-05/0.1423, allocations: 31.92 kB / 1.031 GB, free: 8.57 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.1423, allocations: 4 kB / 1.031 GB, free: 8.566 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.1423, allocations: 4 kB / 1.031 GB, free: 8.562 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1423, allocations: 7.875 kB / 1.031 GB, free: 8.555 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1423, allocations: 4.219 kB / 1.031 GB, free: 8.551 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.1426, allocations: 361.5 kB / 1.032 GB, free: 8.148 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.435e-05/0.1426, allocations: 39.78 kB / 1.032 GB, free: 8.109 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1426, allocations: 4 kB / 1.032 GB, free: 8.105 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.1427, allocations: 15.92 kB / 1.032 GB, free: 8.09 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.1428, allocations: 11.98 kB / 1.032 GB, free: 8.078 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.1428, allocations: 8 kB / 1.032 GB, free: 8.07 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.986e-05/0.1429, allocations: 197.1 kB / 1.032 GB, free: 7.879 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5e-08/0.1429, allocations: 0 / 1.032 GB, free: 7.879 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002957/0.1432, allocations: 91.83 kB / 1.032 GB, free: 7.789 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.0002214/0.1434, allocations: 131.1 kB / 1.032 GB, free: 7.652 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.1436, allocations: 107.4 kB / 1.032 GB, free: 7.543 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1436, allocations: 0 / 1.032 GB, free: 7.543 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.912e-05/0.1437, allocations: 48.05 kB / 1.032 GB, free: 7.492 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.1441, allocations: 128.8 kB / 1.032 GB, free: 7.367 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1452, allocations: 0.5513 MB / 1.033 GB, free: 6.75 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.246e-05/0.1452, allocations: 96.3 kB / 1.033 GB, free: 6.637 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000131/0.1454, allocations: 58.23 kB / 1.033 GB, free: 6.578 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.163e-05/0.1454, allocations: 24.5 kB / 1.033 GB, free: 6.555 MB / 0.9948 GB Notification: Performance of SimCode: time 1.203e-06/0.1454, allocations: 0 / 1.033 GB, free: 6.555 MB / 0.9948 GB Notification: Performance of Templates: time 0.007713/0.1531, allocations: 4.852 MB / 1.038 GB, free: 1.828 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.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.508127873763442]