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.001511/0.001511, 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.001037/0.001037, 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 0.9597/0.9597, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.931/1.931, allocations: 377.8 MB / 0.6236 GB, free: 8.516 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.904e-06/1.904e-06, allocations: 0 / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.058e-05/3.248e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1359/0.1359, allocations: 146.6 MB / 0.9547 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002304/0.1382, allocations: 1.281 MB / 0.9559 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.1385, allocations: 19.81 kB / 0.9559 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.1389, allocations: 79.33 kB / 0.956 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.14, allocations: 393.8 kB / 0.9564 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001173/0.1412, allocations: 446.8 kB / 0.9568 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00097/0.1421, allocations: 0.7048 MB / 0.9575 GB, free: 11.73 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004189/0.1425, allocations: 201.4 kB / 0.9577 GB, free: 11.53 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007417/0.1433, allocations: 363 kB / 0.958 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.1436, allocations: 191.4 kB / 0.9582 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.361e-05/0.1436, allocations: 24 kB / 0.9583 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000611/0.1442, allocations: 307.1 kB / 0.9585 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.1444, allocations: 107.7 kB / 0.9586 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.1445, allocations: 119.7 kB / 0.9588 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0006808/0.1452, allocations: 434.6 kB / 0.9592 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1452, allocations: 4 kB / 0.9592 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1452, allocations: 4 kB / 0.9592 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.1452, allocations: 0 / 0.9592 GB, free: 10.01 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.0009337/0.1461, allocations: 0.6552 MB / 0.9598 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1462, allocations: 8.031 kB / 0.9598 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009361/0.1471, allocations: 212.1 kB / 0.96 GB, free: 9.102 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004307/0.1475, allocations: 271.9 kB / 0.9603 GB, free: 8.812 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.1476, allocations: 20.88 kB / 0.9603 GB, free: 8.793 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/0.1476, allocations: 24.38 kB / 0.9603 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.148, allocations: 235.1 kB / 0.9606 GB, free: 8.512 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.148, allocations: 3.938 kB / 0.9606 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.148, allocations: 12 kB / 0.9606 GB, free: 8.496 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.148, allocations: 4 kB / 0.9606 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.1482, allocations: 92.58 kB / 0.9607 GB, free: 8.402 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.00113/0.1493, allocations: 1.121 MB / 0.9618 GB, free: 7.227 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.1495, allocations: 94.95 kB / 0.9619 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.448e-05/0.1496, allocations: 35.67 kB / 0.9619 GB, free: 7.082 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.1498, allocations: 55.94 kB / 0.9619 GB, free: 7.027 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1498, allocations: 37.33 kB / 0.962 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 2.395e-06/0.1498, allocations: 0 / 0.962 GB, free: 6.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0004304/0.1503, allocations: 172.6 kB / 0.9621 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1503, allocations: 51.41 kB / 0.9622 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.1505, allocations: 292.3 kB / 0.9625 GB, free: 6.445 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1506, allocations: 33.7 kB / 0.9625 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.1507, allocations: 231 kB / 0.9627 GB, free: 6.176 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.108e-05/0.1507, allocations: 63.47 kB / 0.9628 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.1508, allocations: 47.36 kB / 0.9628 GB, free: 6.059 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004553/0.1513, allocations: 0.5079 MB / 0.9633 GB, free: 5.539 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.449e-05/0.1513, allocations: 23.98 kB / 0.9633 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.1515, allocations: 173 kB / 0.9635 GB, free: 5.305 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.1517, allocations: 118 kB / 0.9636 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.1517, allocations: 0 / 0.9636 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002976/0.152, allocations: 173.3 kB / 0.9638 GB, free: 4.988 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.152, allocations: 8 kB / 0.9638 GB, free: 4.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.152, allocations: 0 / 0.9638 GB, free: 4.98 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.152, allocations: 4 kB / 0.9638 GB, free: 4.977 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.1522, allocations: 31.98 kB / 0.9638 GB, free: 4.945 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.1522, allocations: 7.938 kB / 0.9638 GB, free: 4.938 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.1523, allocations: 23.88 kB / 0.9639 GB, free: 4.914 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.1523, allocations: 8 kB / 0.9639 GB, free: 4.906 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 0.0001382/0.1525, allocations: 172.6 kB / 0.964 GB, free: 4.727 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.1525, allocations: 27.81 kB / 0.9641 GB, free: 4.699 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002967/0.1528, allocations: 139.3 kB / 0.9642 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1528, allocations: 0 / 0.9642 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1528, allocations: 0 / 0.9642 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.1528, allocations: 0 / 0.9642 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007163/0.1536, allocations: 0.5732 MB / 0.9648 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.1536, allocations: 0 / 0.9648 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.1537, allocations: 31.92 kB / 0.9648 GB, free: 3.879 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.1537, allocations: 4 kB / 0.9648 GB, free: 3.875 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.1537, allocations: 4 kB / 0.9648 GB, free: 3.871 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.1537, allocations: 7.922 kB / 0.9648 GB, free: 3.863 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.1537, allocations: 4 kB / 0.9648 GB, free: 3.859 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.1541, allocations: 353.5 kB / 0.9651 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.1541, allocations: 43.78 kB / 0.9652 GB, free: 3.418 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.1542, allocations: 8.094 kB / 0.9652 GB, free: 3.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.1543, allocations: 11.94 kB / 0.9652 GB, free: 3.398 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.1543, allocations: 19.91 kB / 0.9652 GB, free: 3.379 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.1544, allocations: 8 kB / 0.9652 GB, free: 3.371 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001356/0.1545, allocations: 197.1 kB / 0.9654 GB, free: 3.18 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1545, allocations: 4 kB / 0.9654 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004022/0.1549, allocations: 83.83 kB / 0.9655 GB, free: 3.094 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.0002751/0.1552, allocations: 147.2 kB / 0.9656 GB, free: 2.941 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.1554, allocations: 98.47 kB / 0.9657 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1554, allocations: 0 / 0.9657 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.746e-05/0.1555, allocations: 51.55 kB / 0.9658 GB, free: 2.789 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.1561, allocations: 127.4 kB / 0.9659 GB, free: 2.668 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.1573, allocations: 0.5709 MB / 0.9665 GB, free: 2.035 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.906e-05/0.1574, allocations: 92.3 kB / 0.9665 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001581/0.1575, allocations: 50.42 kB / 0.9666 GB, free: 1.871 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.323e-05/0.1576, allocations: 24.5 kB / 0.9666 GB, free: 1.848 MB / 0.9167 GB Notification: Performance of SimCode: time 8.42e-07/0.1576, allocations: 0 / 0.9666 GB, free: 1.848 MB / 0.9167 GB Notification: Performance of Templates: time 0.008699/0.1663, allocations: 4.581 MB / 0.9711 GB, free: 13.41 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.835669339168817]