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.001421/0.001421, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001059/0.001059, allocations: 181 kB / 23.36 MB, free: 1.129 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.955/0.955, allocations: 177.1 MB / 203.8 MB, free: 5.492 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 2.302/2.302, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.142e-06/1.142e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.077e-05/2.191e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1354/0.1354, allocations: 145.9 MB / 0.9811 GB, free: 11.75 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.1374, allocations: 1.279 MB / 0.9823 GB, free: 10.46 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.1376, allocations: 19.88 kB / 0.9824 GB, free: 10.45 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.1379, allocations: 87.2 kB / 0.9824 GB, free: 10.36 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008007/0.1387, allocations: 389.8 kB / 0.9828 GB, free: 9.977 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008473/0.1395, allocations: 446.7 kB / 0.9832 GB, free: 9.539 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0007023/0.1402, allocations: 0.6815 MB / 0.9839 GB, free: 8.855 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.1406, allocations: 171.5 kB / 0.9841 GB, free: 8.691 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.1411, allocations: 367 kB / 0.9844 GB, free: 8.332 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.1413, allocations: 187.4 kB / 0.9846 GB, free: 8.148 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.702e-05/0.1413, allocations: 24 kB / 0.9846 GB, free: 8.125 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006011/0.1419, allocations: 303.1 kB / 0.9849 GB, free: 7.828 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.142, allocations: 123.6 kB / 0.985 GB, free: 7.707 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.373e-05/0.1421, allocations: 107.8 kB / 0.9851 GB, free: 7.602 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.1426, allocations: 434.6 kB / 0.9855 GB, free: 7.176 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1426, allocations: 0 / 0.9855 GB, free: 7.176 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1426, allocations: 0 / 0.9855 GB, free: 7.176 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.1426, allocations: 4 kB / 0.9855 GB, free: 7.172 MB / 0.948 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.0005494/0.1432, allocations: 0.5147 MB / 0.986 GB, free: 6.633 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1432, allocations: 8.031 kB / 0.9861 GB, free: 6.625 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006657/0.1439, allocations: 212.3 kB / 0.9863 GB, free: 6.418 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.1442, allocations: 252.6 kB / 0.9865 GB, free: 6.145 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.1442, allocations: 16.88 kB / 0.9865 GB, free: 6.125 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.1442, allocations: 24.36 kB / 0.9865 GB, free: 6.102 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.1445, allocations: 211.8 kB / 0.9867 GB, free: 5.871 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1445, allocations: 0 / 0.9867 GB, free: 5.871 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.1445, allocations: 12 kB / 0.9868 GB, free: 5.859 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1445, allocations: 8 kB / 0.9868 GB, free: 5.852 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.977e-05/0.1446, allocations: 76.31 kB / 0.9868 GB, free: 5.773 MB / 0.948 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.0007188/0.1453, allocations: 0.7746 MB / 0.9876 GB, free: 4.961 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.1454, allocations: 113.2 kB / 0.9877 GB, free: 4.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.1455, allocations: 35.67 kB / 0.9877 GB, free: 4.801 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.1457, allocations: 43.95 kB / 0.9878 GB, free: 4.758 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.1457, allocations: 38.56 kB / 0.9878 GB, free: 4.711 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.052e-06/0.1457, allocations: 0 / 0.9878 GB, free: 4.711 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0002637/0.1459, allocations: 121.8 kB / 0.9879 GB, free: 4.586 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.146, allocations: 59.34 kB / 0.988 GB, free: 4.516 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.1461, allocations: 228.9 kB / 0.9882 GB, free: 4.277 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1461, allocations: 25.7 kB / 0.9882 GB, free: 4.246 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/0.1462, allocations: 168.7 kB / 0.9884 GB, free: 4.078 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.1462, allocations: 59.47 kB / 0.9884 GB, free: 4.02 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.1463, allocations: 45.62 kB / 0.9885 GB, free: 3.969 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.678e-05/0.1464, allocations: 338.8 kB / 0.9888 GB, free: 3.629 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.1464, allocations: 18.81 kB / 0.9888 GB, free: 3.609 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.1465, allocations: 142.2 kB / 0.989 GB, free: 3.434 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.1e-05/0.1466, allocations: 101.5 kB / 0.9891 GB, free: 3.312 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1466, allocations: 3.938 kB / 0.9891 GB, free: 3.309 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001359/0.1467, allocations: 134.9 kB / 0.9892 GB, free: 3.172 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1467, allocations: 4 kB / 0.9892 GB, free: 3.168 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1467, allocations: 4 kB / 0.9892 GB, free: 3.164 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.1467, allocations: 0 / 0.9892 GB, free: 3.164 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.729e-05/0.1468, allocations: 39.98 kB / 0.9892 GB, free: 3.125 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.1468, allocations: 0 / 0.9892 GB, free: 3.125 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.554e-05/0.1469, allocations: 27.81 kB / 0.9893 GB, free: 3.098 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.1469, allocations: 4 kB / 0.9893 GB, free: 3.094 MB / 0.948 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.548e-05/0.147, allocations: 128.6 kB / 0.9894 GB, free: 2.957 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.147, allocations: 15.98 kB / 0.9894 GB, free: 2.941 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.1472, allocations: 117.8 kB / 0.9895 GB, free: 2.824 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1472, allocations: 0 / 0.9895 GB, free: 2.824 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.1472, allocations: 0 / 0.9895 GB, free: 2.824 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1472, allocations: 4 kB / 0.9895 GB, free: 2.82 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004221/0.1476, allocations: 0.4999 MB / 0.99 GB, free: 2.266 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1476, allocations: 4 kB / 0.99 GB, free: 2.262 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.1477, allocations: 32.14 kB / 0.99 GB, free: 2.23 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1477, allocations: 4 kB / 0.99 GB, free: 2.227 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1477, allocations: 8 kB / 0.9901 GB, free: 2.219 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.145e-06/0.1477, allocations: 0 / 0.9901 GB, free: 2.219 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1477, allocations: 4 kB / 0.9901 GB, free: 2.215 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.1479, allocations: 319.8 kB / 0.9904 GB, free: 1.855 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.1479, allocations: 27.84 kB / 0.9904 GB, free: 1.828 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.148, allocations: 4 kB / 0.9904 GB, free: 1.824 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.148, allocations: 4 kB / 0.9904 GB, free: 1.82 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.498e-05/0.1481, allocations: 31.88 kB / 0.9904 GB, free: 1.789 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1481, allocations: 4 kB / 0.9904 GB, free: 1.785 MB / 0.948 GB Notification: Performance of sorting global known variables: time 5.449e-05/0.1481, allocations: 78.77 kB / 0.9905 GB, free: 1.711 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.1481, allocations: 3.938 kB / 0.9905 GB, free: 1.707 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002333/0.1484, allocations: 91.78 kB / 0.9906 GB, free: 1.617 MB / 0.948 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.0001909/0.1485, allocations: 111.4 kB / 0.9907 GB, free: 1.504 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001339/0.1487, allocations: 86.38 kB / 0.9908 GB, free: 1.418 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1487, allocations: 0 / 0.9908 GB, free: 1.418 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.6e-05/0.1487, allocations: 47.25 kB / 0.9908 GB, free: 1.371 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1491, allocations: 119 kB / 0.9909 GB, free: 1.254 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008208/0.1499, allocations: 0.5525 MB / 0.9915 GB, free: 0.6445 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.1501, allocations: 96.23 kB / 0.9916 GB, free: 0.5312 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 8.959e-05/0.1502, allocations: 34.28 kB / 0.9916 GB, free: 0.4961 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.1504, allocations: 133.2 kB / 0.9917 GB, free: 372 kB / 0.948 GB Notification: Performance of SimCode: time 8.82e-07/0.1504, allocations: 0 / 0.9917 GB, free: 372 kB / 0.948 GB Notification: Performance of Templates: time 0.006471/0.1569, allocations: 4.833 MB / 0.9965 GB, free: 11.65 MB / 0.9636 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.537257353775203]