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.001018/0.001018, 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.002001/0.002001, 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 1.007/1.007, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.881/1.881, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] 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.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 1.402e-06/1.402e-06, allocations: 0 / 0.8116 GB, free: 1.539 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.981e-05, allocations: 3.312 kB / 0.8116 GB, free: 1.535 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1394/0.1394, allocations: 146.6 MB / 0.9547 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.1414, allocations: 1.278 MB / 0.9559 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.1417, allocations: 15.88 kB / 0.9559 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004188/0.1421, allocations: 87.22 kB / 0.956 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000842/0.1429, allocations: 389.8 kB / 0.9564 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009009/0.1438, allocations: 458.7 kB / 0.9568 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007028/0.1445, allocations: 0.701 MB / 0.9575 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003413/0.1449, allocations: 185.4 kB / 0.9577 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000526/0.1454, allocations: 378.9 kB / 0.9581 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.1456, allocations: 191.5 kB / 0.9582 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.524e-05/0.1457, allocations: 20 kB / 0.9583 GB, free: 10.84 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005072/0.1462, allocations: 311.1 kB / 0.9586 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.1463, allocations: 115.6 kB / 0.9587 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.731e-05/0.1464, allocations: 111.8 kB / 0.9588 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.147, allocations: 434.6 kB / 0.9592 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.147, allocations: 0 / 0.9592 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.754e-06/0.147, allocations: 0 / 0.9592 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.147, allocations: 0 / 0.9592 GB, free: 9.891 MB / 0.9167 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.0007951/0.1478, allocations: 0.6515 MB / 0.9598 GB, free: 9.199 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1478, allocations: 12.03 kB / 0.9598 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007363/0.1485, allocations: 212 kB / 0.96 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.1489, allocations: 267.5 kB / 0.9603 GB, free: 8.695 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1489, allocations: 16.88 kB / 0.9603 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.149, allocations: 20.38 kB / 0.9603 GB, free: 8.66 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.1493, allocations: 247 kB / 0.9606 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.1493, allocations: 3.938 kB / 0.9606 GB, free: 8.387 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.1493, allocations: 12 kB / 0.9606 GB, free: 8.375 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.1493, allocations: 4 kB / 0.9606 GB, free: 8.371 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.1495, allocations: 88.59 kB / 0.9607 GB, free: 8.285 MB / 0.9167 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.00106/0.1505, allocations: 1.132 MB / 0.9618 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.1507, allocations: 87.02 kB / 0.9619 GB, free: 7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/0.1507, allocations: 39.67 kB / 0.9619 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002269/0.151, allocations: 43.95 kB / 0.9619 GB, free: 6.914 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.151, allocations: 53.25 kB / 0.962 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 3.286e-06/0.151, allocations: 0 / 0.962 GB, free: 6.852 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.000374/0.1514, allocations: 159.2 kB / 0.9621 GB, free: 6.691 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.1514, allocations: 55.41 kB / 0.9622 GB, free: 6.625 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1516, allocations: 284.3 kB / 0.9625 GB, free: 6.332 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1516, allocations: 33.7 kB / 0.9625 GB, free: 6.293 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.1517, allocations: 235 kB / 0.9627 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.1518, allocations: 63.47 kB / 0.9628 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.1518, allocations: 47.38 kB / 0.9628 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003369/0.1522, allocations: 0.504 MB / 0.9633 GB, free: 5.426 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/0.1522, allocations: 23.98 kB / 0.9633 GB, free: 5.402 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.1523, allocations: 175.1 kB / 0.9635 GB, free: 5.188 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.1525, allocations: 121.4 kB / 0.9636 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1525, allocations: 0 / 0.9636 GB, free: 5.047 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002222/0.1527, allocations: 157.4 kB / 0.9638 GB, free: 4.887 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1527, allocations: 8.094 kB / 0.9638 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1527, allocations: 4 kB / 0.9638 GB, free: 4.875 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1527, allocations: 0 / 0.9638 GB, free: 4.875 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.1529, allocations: 43.91 kB / 0.9638 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1529, allocations: 4 kB / 0.9638 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.69e-05/0.1529, allocations: 19.89 kB / 0.9639 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.153, allocations: 12 kB / 0.9639 GB, free: 4.797 MB / 0.9167 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.82e-05/0.1531, allocations: 168.5 kB / 0.964 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.1531, allocations: 39.8 kB / 0.9641 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.1533, allocations: 135.4 kB / 0.9642 GB, free: 4.445 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1533, allocations: 0 / 0.9642 GB, free: 4.445 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1533, allocations: 0 / 0.9642 GB, free: 4.445 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1533, allocations: 3.938 kB / 0.9642 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005356/0.1538, allocations: 0.5768 MB / 0.9648 GB, free: 3.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1539, allocations: 0 / 0.9648 GB, free: 3.793 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.376e-05/0.1539, allocations: 28.2 kB / 0.9648 GB, free: 3.766 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.154, allocations: 8 kB / 0.9648 GB, free: 3.758 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.154, allocations: 4 kB / 0.9648 GB, free: 3.754 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.154, allocations: 11.88 kB / 0.9648 GB, free: 3.742 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.154, allocations: 4 kB / 0.9648 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.1543, allocations: 356.4 kB / 0.9652 GB, free: 3.34 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.1543, allocations: 35.84 kB / 0.9652 GB, free: 3.305 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.1543, allocations: 4 kB / 0.9652 GB, free: 3.301 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.107e-05/0.1544, allocations: 15.92 kB / 0.9652 GB, free: 3.285 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.1545, allocations: 12.12 kB / 0.9652 GB, free: 3.273 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.1545, allocations: 12.02 kB / 0.9652 GB, free: 3.262 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.000111/0.1546, allocations: 205.1 kB / 0.9654 GB, free: 3.059 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1546, allocations: 0 / 0.9654 GB, free: 3.059 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002788/0.1549, allocations: 87.78 kB / 0.9655 GB, free: 2.973 MB / 0.9167 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.0002197/0.1551, allocations: 135.1 kB / 0.9656 GB, free: 2.832 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1553, allocations: 99.64 kB / 0.9657 GB, free: 2.73 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1553, allocations: 4.062 kB / 0.9657 GB, free: 2.727 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.164e-05/0.1553, allocations: 51.55 kB / 0.9658 GB, free: 2.672 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.1558, allocations: 127.8 kB / 0.9659 GB, free: 2.555 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/0.1569, allocations: 0.5708 MB / 0.9665 GB, free: 1.922 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.772e-05/0.157, allocations: 96.3 kB / 0.9666 GB, free: 1.809 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001351/0.1571, allocations: 54.64 kB / 0.9666 GB, free: 1.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.1572, allocations: 24.5 kB / 0.9666 GB, free: 1.727 MB / 0.9167 GB Notification: Performance of SimCode: time 8.71e-07/0.1572, allocations: 0 / 0.9666 GB, free: 1.727 MB / 0.9167 GB Notification: Performance of Templates: time 0.007665/0.1648, allocations: 4.982 MB / 0.9715 GB, free: 12.89 MB / 0.9323 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.477951972279698]