Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009697/0.0009697, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001008/0.001008, allocations: 165 kB / 24.17 MB, free: 328 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 1.026/1.026, allocations: 177.1 MB / 204.6 MB, free: 5.469 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.941/1.941, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.464e-06/2.464e-06, allocations: 0.7656 kB / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.998e-05, allocations: 2.812 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1377/0.1378, allocations: 145.9 MB / 0.9026 GB, free: 4.32 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.1394, allocations: 1.303 MB / 0.9038 GB, free: 3.016 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.1396, allocations: 15.88 kB / 0.9038 GB, free: 3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.1399, allocations: 79.28 kB / 0.9039 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006859/0.1406, allocations: 393.8 kB / 0.9043 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007106/0.1413, allocations: 462.7 kB / 0.9047 GB, free: 2.082 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005263/0.1418, allocations: 0.6932 MB / 0.9054 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/0.1421, allocations: 191.3 kB / 0.9056 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004099/0.1425, allocations: 367 kB / 0.9059 GB, free: 0.8398 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.1427, allocations: 187.4 kB / 0.9061 GB, free: 0.6562 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.1427, allocations: 27.98 kB / 0.9061 GB, free: 0.6289 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003854/0.1431, allocations: 303.1 kB / 0.9064 GB, free: 340 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.1432, allocations: 107.6 kB / 0.9065 GB, free: 232 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.656e-05/0.1433, allocations: 119.7 kB / 0.9067 GB, free: 112 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004486/0.1437, allocations: 434.6 kB / 0.9071 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1437, allocations: 3.984 kB / 0.9071 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1437, allocations: 0 / 0.9071 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.1437, allocations: 0 / 0.9071 GB, free: 15.68 MB / 0.8698 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.0005325/0.1443, allocations: 0.5228 MB / 0.9076 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.095e-05/0.1443, allocations: 8.031 kB / 0.9076 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00062/0.1449, allocations: 216.2 kB / 0.9078 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.1452, allocations: 248.7 kB / 0.908 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1452, allocations: 16.88 kB / 0.908 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.1452, allocations: 20.38 kB / 0.9081 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.1455, allocations: 227.7 kB / 0.9083 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1455, allocations: 0 / 0.9083 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.1455, allocations: 12 kB / 0.9083 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1455, allocations: 4 kB / 0.9083 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.828e-05/0.1456, allocations: 73.09 kB / 0.9084 GB, free: 14.27 MB / 0.8698 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.0009141/0.1465, allocations: 0.7746 MB / 0.9091 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.1466, allocations: 113.3 kB / 0.9092 GB, free: 13.34 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.1467, allocations: 31.97 kB / 0.9093 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/0.1468, allocations: 55.88 kB / 0.9093 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.1469, allocations: 38.56 kB / 0.9094 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.1469, allocations: 3.938 kB / 0.9094 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002564/0.1471, allocations: 115.5 kB / 0.9095 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.1472, allocations: 63.39 kB / 0.9095 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.1473, allocations: 229 kB / 0.9097 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.1473, allocations: 25.7 kB / 0.9098 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.1474, allocations: 164.7 kB / 0.9099 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.1474, allocations: 63.41 kB / 0.91 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.294e-05/0.1474, allocations: 45.69 kB / 0.91 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.397e-05/0.1475, allocations: 334.8 kB / 0.9104 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.1476, allocations: 22.81 kB / 0.9104 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.803e-05/0.1476, allocations: 146.2 kB / 0.9105 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.068e-05/0.1477, allocations: 104.3 kB / 0.9106 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1477, allocations: 3.938 kB / 0.9106 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001353/0.1479, allocations: 127.2 kB / 0.9107 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1479, allocations: 8.094 kB / 0.9107 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1479, allocations: 0 / 0.9107 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1479, allocations: 4 kB / 0.9107 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.998e-05/0.148, allocations: 43.92 kB / 0.9108 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.148, allocations: 0 / 0.9108 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.1481, allocations: 15.89 kB / 0.9108 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.1481, allocations: 11.98 kB / 0.9108 GB, free: 11.59 MB / 0.8698 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 7.769e-05/0.1482, allocations: 124.5 kB / 0.9109 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.1482, allocations: 19.98 kB / 0.911 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.1483, allocations: 111.3 kB / 0.9111 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1483, allocations: 4 kB / 0.9111 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.1483, allocations: 0 / 0.9111 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.1483, allocations: 0 / 0.9111 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004117/0.1488, allocations: 0.5037 MB / 0.9116 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1488, allocations: 4 kB / 0.9116 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.873e-05/0.1488, allocations: 24.2 kB / 0.9116 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.1488, allocations: 8 kB / 0.9116 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1488, allocations: 8 kB / 0.9116 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1488, allocations: 0 / 0.9116 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.1489, allocations: 11.94 kB / 0.9116 GB, free: 10.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002093/0.1491, allocations: 315 kB / 0.9119 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.532e-05/0.1491, allocations: 39.75 kB / 0.9119 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.1491, allocations: 8 kB / 0.912 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.1492, allocations: 4 kB / 0.912 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.1492, allocations: 19.91 kB / 0.912 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.1492, allocations: 8.031 kB / 0.912 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.435e-05/0.1493, allocations: 82.72 kB / 0.9121 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1493, allocations: 0 / 0.9121 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002273/0.1495, allocations: 87.78 kB / 0.9121 GB, free: 10.1 MB / 0.8698 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.000188/0.1497, allocations: 116.2 kB / 0.9123 GB, free: 9.977 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.1498, allocations: 80.83 kB / 0.9123 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.1499, allocations: 4 kB / 0.9123 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.881e-05/0.1499, allocations: 48.7 kB / 0.9124 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003882/0.1503, allocations: 118.5 kB / 0.9125 GB, free: 9.727 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008344/0.1511, allocations: 0.5565 MB / 0.913 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.825e-05/0.1512, allocations: 96.3 kB / 0.9131 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.35e-05/0.1513, allocations: 30.28 kB / 0.9132 GB, free: 8.977 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.1514, allocations: 121.3 kB / 0.9133 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of SimCode: time 6.21e-07/0.1514, allocations: 0 / 0.9133 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of Templates: time 0.006838/0.1583, allocations: 4.998 MB / 0.9182 GB, free: 4.004 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.478206587955356]