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.001388/0.001388, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001572/0.001572, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.021/1.021, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.883/1.883, allocations: 377.9 MB / 0.6239 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] 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.773e-06/1.773e-06, allocations: 0 / 0.812 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.492e-05, allocations: 3.094 kB / 0.812 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1187/0.1187, allocations: 143.8 MB / 0.9525 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001905/0.1206, allocations: 1.282 MB / 0.9537 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.1208, allocations: 15.88 kB / 0.9538 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.1211, allocations: 87.27 kB / 0.9538 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007965/0.1219, allocations: 389.8 kB / 0.9542 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008338/0.1228, allocations: 446.8 kB / 0.9546 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0006561/0.1234, allocations: 0.701 MB / 0.9553 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003171/0.1238, allocations: 197.4 kB / 0.9555 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00049/0.1242, allocations: 371 kB / 0.9559 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.1244, allocations: 187.4 kB / 0.956 GB, free: 13.44 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.64e-05/0.1245, allocations: 24 kB / 0.9561 GB, free: 13.42 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.1249, allocations: 307.1 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.887e-05/0.125, allocations: 115.6 kB / 0.9565 GB, free: 13 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.993e-05/0.1251, allocations: 115.8 kB / 0.9566 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.1256, allocations: 438.6 kB / 0.957 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1256, allocations: 0 / 0.957 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1256, allocations: 0 / 0.957 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.1256, allocations: 0 / 0.957 GB, free: 12.46 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.0006297/0.1263, allocations: 0.6553 MB / 0.9576 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1263, allocations: 8.031 kB / 0.9576 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006376/0.1269, allocations: 208.1 kB / 0.9578 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.1272, allocations: 271.4 kB / 0.9581 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.1272, allocations: 16.88 kB / 0.9581 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.1273, allocations: 20.38 kB / 0.9581 GB, free: 11.23 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.1275, allocations: 235 kB / 0.9584 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.1275, allocations: 4 kB / 0.9584 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1276, allocations: 12 kB / 0.9584 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1276, allocations: 4 kB / 0.9584 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.592e-05/0.1276, allocations: 72.58 kB / 0.9585 GB, free: 10.88 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.0007895/0.1284, allocations: 1.078 MB / 0.9595 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.1285, allocations: 79.03 kB / 0.9596 GB, free: 9.668 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.358e-05/0.1286, allocations: 35.67 kB / 0.9596 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001743/0.1288, allocations: 43.95 kB / 0.9597 GB, free: 9.586 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.1288, allocations: 37.39 kB / 0.9597 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.1288, allocations: 0 / 0.9597 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0002846/0.1291, allocations: 165.5 kB / 0.9598 GB, free: 9.371 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.1291, allocations: 51.41 kB / 0.9599 GB, free: 9.309 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.1292, allocations: 292.2 kB / 0.9602 GB, free: 9.008 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1292, allocations: 25.7 kB / 0.9602 GB, free: 8.977 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.1294, allocations: 234.9 kB / 0.9604 GB, free: 8.742 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.1294, allocations: 63.41 kB / 0.9605 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.1294, allocations: 51.34 kB / 0.9605 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1296, allocations: 0.5079 MB / 0.961 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.083e-05/0.1296, allocations: 15.98 kB / 0.961 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.219e-05/0.1297, allocations: 159.2 kB / 0.9612 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1298, allocations: 129.9 kB / 0.9613 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1298, allocations: 0 / 0.9613 GB, free: 7.734 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001651/0.13, allocations: 149.1 kB / 0.9615 GB, free: 7.586 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.13, allocations: 4 kB / 0.9615 GB, free: 7.582 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.13, allocations: 4 kB / 0.9615 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.13, allocations: 0 / 0.9615 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1301, allocations: 39.92 kB / 0.9615 GB, free: 7.539 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1301, allocations: 8.094 kB / 0.9615 GB, free: 7.531 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.046e-05/0.1302, allocations: 23.88 kB / 0.9615 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.1302, allocations: 8 kB / 0.9615 GB, free: 7.5 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 8.839e-05/0.1303, allocations: 172.4 kB / 0.9617 GB, free: 7.32 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.1303, allocations: 31.81 kB / 0.9617 GB, free: 7.289 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.1305, allocations: 129.3 kB / 0.9619 GB, free: 7.16 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1305, allocations: 4 kB / 0.9619 GB, free: 7.156 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.1305, allocations: 0 / 0.9619 GB, free: 7.156 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1305, allocations: 0 / 0.9619 GB, free: 7.156 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004841/0.131, allocations: 0.511 MB / 0.9624 GB, free: 6.582 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.131, allocations: 7.938 kB / 0.9624 GB, free: 6.574 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.124e-05/0.1311, allocations: 27.98 kB / 0.9624 GB, free: 6.547 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1311, allocations: 4 kB / 0.9624 GB, free: 6.543 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1311, allocations: 4 kB / 0.9624 GB, free: 6.539 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.1311, allocations: 4 kB / 0.9624 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1311, allocations: 3.938 kB / 0.9624 GB, free: 6.531 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.1314, allocations: 353.7 kB / 0.9628 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.443e-05/0.1314, allocations: 35.83 kB / 0.9628 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.1315, allocations: 4 kB / 0.9628 GB, free: 6.098 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.1315, allocations: 12 kB / 0.9628 GB, free: 6.086 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.1316, allocations: 19.86 kB / 0.9628 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.1316, allocations: 11.98 kB / 0.9628 GB, free: 6.055 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.976e-05/0.1317, allocations: 197 kB / 0.963 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1317, allocations: 0 / 0.963 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002723/0.1319, allocations: 87.78 kB / 0.9631 GB, free: 5.773 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.0002015/0.1321, allocations: 139.1 kB / 0.9632 GB, free: 5.629 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.1323, allocations: 87.5 kB / 0.9633 GB, free: 5.539 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1323, allocations: 0 / 0.9633 GB, free: 5.539 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.268e-05/0.1324, allocations: 50.7 kB / 0.9634 GB, free: 5.488 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.1328, allocations: 124.8 kB / 0.9635 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009295/0.1337, allocations: 0.5628 MB / 0.964 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.831e-05/0.1338, allocations: 100.3 kB / 0.9641 GB, free: 4.625 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.1339, allocations: 38.27 kB / 0.9642 GB, free: 4.582 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.1341, allocations: 158.1 kB / 0.9643 GB, free: 4.426 MB / 0.9167 GB Notification: Performance of SimCode: time 8.22e-07/0.1341, allocations: 0 / 0.9643 GB, free: 4.426 MB / 0.9167 GB Notification: Performance of Templates: time 0.007164/0.1413, allocations: 5.054 MB / 0.9693 GB, free: 15.51 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.279333517886698]