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.0009245/0.0009245, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.001469/0.001469, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.9726/0.9726, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.411/2.411, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 2.244e-06/2.244e-06, allocations: 0 / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.464e-05/1.688e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1309/0.1309, allocations: 143.8 MB / 1.03 GB, free: 9.383 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00173/0.1326, allocations: 1.253 MB / 1.031 GB, free: 8.129 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002154/0.1328, allocations: 11.88 kB / 1.031 GB, free: 8.117 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.1331, allocations: 87.27 kB / 1.032 GB, free: 8.031 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007419/0.1339, allocations: 389.8 kB / 1.032 GB, free: 7.648 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007661/0.1346, allocations: 450.8 kB / 1.032 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.1352, allocations: 0.6814 MB / 1.033 GB, free: 6.523 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.1354, allocations: 173.5 kB / 1.033 GB, free: 6.348 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000384/0.1358, allocations: 367 kB / 1.034 GB, free: 5.988 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.136, allocations: 195.4 kB / 1.034 GB, free: 5.797 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3e-05/0.136, allocations: 20 kB / 1.034 GB, free: 5.777 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.1363, allocations: 307.1 kB / 1.034 GB, free: 5.477 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.928e-05/0.1364, allocations: 123.6 kB / 1.034 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.356e-05/0.1365, allocations: 111.8 kB / 1.034 GB, free: 5.246 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000422/0.1369, allocations: 430.6 kB / 1.035 GB, free: 4.824 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1369, allocations: 7.938 kB / 1.035 GB, free: 4.816 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1369, allocations: 0 / 1.035 GB, free: 4.816 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.1369, allocations: 4 kB / 1.035 GB, free: 4.812 MB / 0.9948 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.0005571/0.1375, allocations: 0.6472 MB / 1.035 GB, free: 4.125 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1375, allocations: 8.031 kB / 1.035 GB, free: 4.117 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006146/0.1381, allocations: 212.1 kB / 1.036 GB, free: 3.91 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.1384, allocations: 255.5 kB / 1.036 GB, free: 3.633 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.1384, allocations: 16.88 kB / 1.036 GB, free: 3.617 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.1384, allocations: 24.38 kB / 1.036 GB, free: 3.594 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.1387, allocations: 223 kB / 1.036 GB, free: 3.344 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.1387, allocations: 0 / 1.036 GB, free: 3.344 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1387, allocations: 8 kB / 1.036 GB, free: 3.336 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1387, allocations: 8 kB / 1.036 GB, free: 3.328 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.1388, allocations: 71.88 kB / 1.036 GB, free: 3.258 MB / 0.9948 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.000735/0.1396, allocations: 1.086 MB / 1.037 GB, free: 2.125 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.978e-05/0.1397, allocations: 71.03 kB / 1.037 GB, free: 2.043 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.565e-05/0.1397, allocations: 39.66 kB / 1.037 GB, free: 2 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.1399, allocations: 47.95 kB / 1.037 GB, free: 1.953 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.1399, allocations: 45.27 kB / 1.037 GB, free: 1.898 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.1399, allocations: 0 / 1.037 GB, free: 1.898 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0002785/0.1402, allocations: 149.7 kB / 1.037 GB, free: 1.746 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.1402, allocations: 51.41 kB / 1.038 GB, free: 1.684 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.1403, allocations: 292.1 kB / 1.038 GB, free: 1.383 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1403, allocations: 37.7 kB / 1.038 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.285e-05/0.1404, allocations: 230.9 kB / 1.038 GB, free: 1.109 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.1405, allocations: 55.52 kB / 1.038 GB, free: 1.055 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.158e-05/0.1405, allocations: 55.3 kB / 1.038 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1406, allocations: 0.504 MB / 1.039 GB, free: 488 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.875e-05/0.1407, allocations: 19.98 kB / 1.039 GB, free: 468 kB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.1408, allocations: 167.1 kB / 1.039 GB, free: 256 kB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.163e-05/0.1408, allocations: 110 kB / 1.039 GB, free: 120 kB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1408, allocations: 4 kB / 1.039 GB, free: 116 kB / 0.9948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001706/0.141, allocations: 156.6 kB / 1.039 GB, free: 15.96 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.141, allocations: 4 kB / 1.039 GB, free: 15.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.141, allocations: 0 / 1.039 GB, free: 15.95 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.141, allocations: 4 kB / 1.039 GB, free: 15.95 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.1411, allocations: 43.92 kB / 1.039 GB, free: 15.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1411, allocations: 0 / 1.039 GB, free: 15.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.32e-05/0.1412, allocations: 23.88 kB / 1.039 GB, free: 15.88 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.1412, allocations: 8 kB / 1.039 GB, free: 15.88 MB / 1.01 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 8.16e-05/0.1413, allocations: 172.5 kB / 1.039 GB, free: 15.7 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.1413, allocations: 27.86 kB / 1.039 GB, free: 15.67 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.1415, allocations: 123.4 kB / 1.039 GB, free: 15.55 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1415, allocations: 0 / 1.039 GB, free: 15.55 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.1415, allocations: 0 / 1.039 GB, free: 15.55 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1415, allocations: 3.984 kB / 1.039 GB, free: 15.54 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004153/0.1419, allocations: 0.5151 MB / 1.04 GB, free: 14.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1419, allocations: 4 kB / 1.04 GB, free: 14.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.142, allocations: 27.98 kB / 1.04 GB, free: 14.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.142, allocations: 0 / 1.04 GB, free: 14.93 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.142, allocations: 4 kB / 1.04 GB, free: 14.93 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.142, allocations: 7.938 kB / 1.04 GB, free: 14.92 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.142, allocations: 0 / 1.04 GB, free: 14.92 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002113/0.1422, allocations: 359.6 kB / 1.04 GB, free: 14.52 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.1422, allocations: 39.73 kB / 1.04 GB, free: 14.48 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1423, allocations: 16.11 kB / 1.04 GB, free: 14.47 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.1423, allocations: 4.141 kB / 1.04 GB, free: 14.46 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.238e-05/0.1424, allocations: 19.91 kB / 1.04 GB, free: 14.45 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1424, allocations: 8 kB / 1.04 GB, free: 14.44 MB / 1.01 GB Notification: Performance of sorting global known variables: time 7.77e-05/0.1425, allocations: 201.1 kB / 1.041 GB, free: 14.24 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.1425, allocations: 0 / 1.041 GB, free: 14.24 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002293/0.1427, allocations: 79.89 kB / 1.041 GB, free: 14.16 MB / 1.01 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.0001868/0.1429, allocations: 135.1 kB / 1.041 GB, free: 14.02 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.143, allocations: 93.12 kB / 1.041 GB, free: 13.92 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.143, allocations: 0 / 1.041 GB, free: 13.92 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.754e-05/0.143, allocations: 47.55 kB / 1.041 GB, free: 13.87 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.1434, allocations: 118.9 kB / 1.041 GB, free: 13.76 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007754/0.1442, allocations: 0.5629 MB / 1.042 GB, free: 13.13 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.352e-05/0.1443, allocations: 96.3 kB / 1.042 GB, free: 13.02 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 8.045e-05/0.1444, allocations: 34.45 kB / 1.042 GB, free: 12.99 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.1445, allocations: 154.1 kB / 1.042 GB, free: 12.84 MB / 1.01 GB Notification: Performance of SimCode: time 8.62e-07/0.1445, allocations: 4 kB / 1.042 GB, free: 12.83 MB / 1.01 GB Notification: Performance of Templates: time 0.006182/0.1507, allocations: 4.918 MB / 1.047 GB, free: 8.043 MB / 1.01 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: 6.186937851365656]