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.001008/0.001008, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001102/0.001102, allocations: 167 kB / 24.86 MB, free: 8.836 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.9769/0.9769, allocations: 177.1 MB / 205.3 MB, free: 5.125 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.938/1.938, allocations: 377.9 MB / 0.6247 GB, free: 8.441 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.823e-06/1.823e-06, allocations: 0 / 0.8128 GB, free: 1.422 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.745e-05, allocations: 6.312 kB / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1309/0.1309, allocations: 143.8 MB / 0.9532 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.1327, allocations: 1.276 MB / 0.9545 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.1328, allocations: 19.81 kB / 0.9545 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.1331, allocations: 83.28 kB / 0.9546 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0006596/0.1338, allocations: 393.8 kB / 0.955 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006322/0.1344, allocations: 454.8 kB / 0.9554 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0007324/0.1351, allocations: 0.6932 MB / 0.9561 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002461/0.1354, allocations: 201.3 kB / 0.9563 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.1358, allocations: 367 kB / 0.9566 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001801/0.1359, allocations: 195.4 kB / 0.9568 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.136, allocations: 20 kB / 0.9568 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.1363, allocations: 311.1 kB / 0.9571 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.588e-05/0.1364, allocations: 111.7 kB / 0.9572 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.244e-05/0.1365, allocations: 115.7 kB / 0.9573 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004007/0.1369, allocations: 434.7 kB / 0.9578 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1369, allocations: 0 / 0.9578 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.51e-07/0.1369, allocations: 0 / 0.9578 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.1369, allocations: 0 / 0.9578 GB, free: 12.5 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.0006282/0.1375, allocations: 0.6514 MB / 0.9584 GB, free: 11.81 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1375, allocations: 12.03 kB / 0.9584 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006776/0.1382, allocations: 216 kB / 0.9586 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1385, allocations: 267.4 kB / 0.9589 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.1386, allocations: 16.88 kB / 0.9589 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.1386, allocations: 24.38 kB / 0.9589 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.1388, allocations: 235 kB / 0.9591 GB, free: 11 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1389, allocations: 0 / 0.9591 GB, free: 11 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.1389, allocations: 8 kB / 0.9591 GB, free: 11 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.1389, allocations: 8 kB / 0.9591 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.901e-05/0.139, allocations: 68.59 kB / 0.9592 GB, free: 10.92 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.000836/0.1398, allocations: 1.082 MB / 0.9603 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1399, allocations: 75.03 kB / 0.9603 GB, free: 9.707 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.14, allocations: 39.66 kB / 0.9604 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001886/0.1402, allocations: 47.95 kB / 0.9604 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.1402, allocations: 37.33 kB / 0.9605 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.1402, allocations: 0 / 0.9605 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.000307/0.1405, allocations: 157.5 kB / 0.9606 GB, free: 9.41 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.1405, allocations: 55.41 kB / 0.9607 GB, free: 9.344 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.1407, allocations: 288.2 kB / 0.9609 GB, free: 9.047 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1407, allocations: 29.7 kB / 0.961 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.1408, allocations: 230.9 kB / 0.9612 GB, free: 8.781 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.1408, allocations: 63.47 kB / 0.9612 GB, free: 8.719 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.607e-05/0.1409, allocations: 47.34 kB / 0.9613 GB, free: 8.664 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.141, allocations: 0.5118 MB / 0.9618 GB, free: 8.141 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.973e-05/0.1411, allocations: 15.98 kB / 0.9618 GB, free: 8.125 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.63e-05/0.1412, allocations: 163.1 kB / 0.962 GB, free: 7.922 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.1413, allocations: 123.9 kB / 0.9621 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1413, allocations: 3.938 kB / 0.9621 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001781/0.1414, allocations: 145.4 kB / 0.9622 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1415, allocations: 8 kB / 0.9622 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1415, allocations: 0 / 0.9622 GB, free: 7.617 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1415, allocations: 4 kB / 0.9622 GB, free: 7.613 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.1416, allocations: 35.92 kB / 0.9623 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1416, allocations: 4 kB / 0.9623 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.058e-05/0.1417, allocations: 27.97 kB / 0.9623 GB, free: 7.547 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.1417, allocations: 4 kB / 0.9623 GB, free: 7.543 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.0004721/0.1422, allocations: 172.5 kB / 0.9625 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.1422, allocations: 31.81 kB / 0.9625 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.1424, allocations: 134.3 kB / 0.9626 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1424, allocations: 0 / 0.9626 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.1424, allocations: 0 / 0.9626 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1424, allocations: 0 / 0.9626 GB, free: 7.199 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.1429, allocations: 0.5188 MB / 0.9631 GB, free: 6.617 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1429, allocations: 4 kB / 0.9631 GB, free: 6.613 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.641e-05/0.1429, allocations: 27.98 kB / 0.9632 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1429, allocations: 0 / 0.9632 GB, free: 6.586 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.1429, allocations: 8 kB / 0.9632 GB, free: 6.578 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.143, allocations: 7.938 kB / 0.9632 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.143, allocations: 0 / 0.9632 GB, free: 6.57 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1432, allocations: 353.6 kB / 0.9635 GB, free: 6.176 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.148e-05/0.1432, allocations: 39.83 kB / 0.9635 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.1432, allocations: 7.984 kB / 0.9636 GB, free: 6.129 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-05/0.1433, allocations: 4 kB / 0.9636 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.1434, allocations: 19.92 kB / 0.9636 GB, free: 6.105 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1434, allocations: 4 kB / 0.9636 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.001e-05/0.1434, allocations: 197.1 kB / 0.9638 GB, free: 5.906 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1434, allocations: 0 / 0.9638 GB, free: 5.906 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002527/0.1437, allocations: 91.78 kB / 0.9639 GB, free: 5.816 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.0001875/0.1439, allocations: 142.2 kB / 0.964 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001483/0.144, allocations: 89.45 kB / 0.9641 GB, free: 5.582 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.144, allocations: 0 / 0.9641 GB, free: 5.582 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.363e-05/0.1441, allocations: 59.5 kB / 0.9641 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.1445, allocations: 123.8 kB / 0.9643 GB, free: 5.402 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008091/0.1453, allocations: 0.559 MB / 0.9648 GB, free: 4.781 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.769e-05/0.1454, allocations: 100.3 kB / 0.9649 GB, free: 4.664 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.426e-05/0.1455, allocations: 38.27 kB / 0.9649 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.1456, allocations: 154.1 kB / 0.9651 GB, free: 4.469 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/0.1456, allocations: 0 / 0.9651 GB, free: 4.469 MB / 0.9167 GB Notification: Performance of Templates: time 0.006722/0.1524, allocations: 5.121 MB / 0.9701 GB, free: 15.5 MB / 0.9324 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.4406729568727314]