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.001391/0.001391, allocations: 73.97 kB / 20.66 MB, free: 3.84 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.001043/0.001043, allocations: 169 kB / 24.05 MB, free: 456 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 0.9482/0.9482, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.127/2.127, allocations: 429.5 MB / 0.6743 GB, free: 3.926 MB / 0.6355 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 1.964e-06/1.964e-06, allocations: 0 / 0.8794 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.61e-05, allocations: 6.25 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1241/0.1241, allocations: 143.8 MB / 1.02 GB, free: 5.68 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1256, allocations: 1.254 MB / 1.021 GB, free: 4.422 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.1258, allocations: 15.88 kB / 1.021 GB, free: 4.406 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0002889/0.1261, allocations: 79.34 kB / 1.021 GB, free: 4.328 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0008078/0.1269, allocations: 385.8 kB / 1.022 GB, free: 3.949 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.1276, allocations: 446.8 kB / 1.022 GB, free: 3.512 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0005597/0.1282, allocations: 0.6814 MB / 1.023 GB, free: 2.824 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002015/0.1284, allocations: 190.7 kB / 1.023 GB, free: 2.645 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003874/0.1287, allocations: 359 kB / 1.023 GB, free: 2.293 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.1289, allocations: 195.4 kB / 1.023 GB, free: 2.102 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.129, allocations: 27.94 kB / 1.023 GB, free: 2.074 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004064/0.1294, allocations: 307.1 kB / 1.024 GB, free: 1.773 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 8.294e-05/0.1295, allocations: 111.6 kB / 1.024 GB, free: 1.664 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 9.661e-05/0.1295, allocations: 119.7 kB / 1.024 GB, free: 1.547 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0004725/0.13, allocations: 434.5 kB / 1.024 GB, free: 1.121 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.13, allocations: 0 / 1.024 GB, free: 1.121 MB / 0.9792 GB Notification: Performance of FrontEnd: time 9.41e-07/0.13, allocations: 0 / 1.024 GB, free: 1.121 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.13, allocations: 0 / 1.024 GB, free: 1.121 MB / 0.9792 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.0005783/0.1306, allocations: 0.6433 MB / 1.025 GB, free: 452 kB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1306, allocations: 8.031 kB / 1.025 GB, free: 444 kB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006507/0.1313, allocations: 220 kB / 1.025 GB, free: 224 kB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.1316, allocations: 251.6 kB / 1.025 GB, free: 15.95 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.1316, allocations: 24.88 kB / 1.025 GB, free: 15.92 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.1316, allocations: 16.38 kB / 1.025 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.1318, allocations: 234.9 kB / 1.026 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1318, allocations: 0 / 1.026 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1318, allocations: 15.98 kB / 1.026 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1319, allocations: 4 kB / 1.026 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/0.1319, allocations: 67.88 kB / 1.026 GB, free: 15.57 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.0007767/0.1327, allocations: 1.09 MB / 1.027 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.1328, allocations: 75.03 kB / 1.027 GB, free: 14.34 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.734e-05/0.1329, allocations: 39.66 kB / 1.027 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.133, allocations: 39.95 kB / 1.027 GB, free: 14.26 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.1331, allocations: 41.39 kB / 1.027 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.1331, allocations: 0 / 1.027 GB, free: 14.21 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0002771/0.1333, allocations: 153.1 kB / 1.027 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.1334, allocations: 59.41 kB / 1.027 GB, free: 13.99 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1335, allocations: 288.1 kB / 1.027 GB, free: 13.68 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.1335, allocations: 25.7 kB / 1.027 GB, free: 13.65 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/0.1336, allocations: 234.9 kB / 1.028 GB, free: 13.42 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.1337, allocations: 55.52 kB / 1.028 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/0.1337, allocations: 55.3 kB / 1.028 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1338, allocations: 0.5079 MB / 1.028 GB, free: 12.78 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.948e-05/0.1339, allocations: 15.98 kB / 1.028 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.1341, allocations: 167.1 kB / 1.028 GB, free: 12.56 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.548e-05/0.1342, allocations: 121 kB / 1.029 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1342, allocations: 0 / 1.029 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001548/0.1343, allocations: 149.4 kB / 1.029 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 8.777e-06/0.1343, allocations: 4 kB / 1.029 GB, free: 12.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1344, allocations: 4 kB / 1.029 GB, free: 12.26 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.1344, allocations: 0 / 1.029 GB, free: 12.26 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.741e-05/0.1345, allocations: 48.02 kB / 1.029 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.1345, allocations: 4 kB / 1.029 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.482e-05/0.1345, allocations: 11.89 kB / 1.029 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.1345, allocations: 15.98 kB / 1.029 GB, free: 12.18 MB / 0.9948 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.8e-05/0.1346, allocations: 168.5 kB / 1.029 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.1347, allocations: 31.86 kB / 1.029 GB, free: 11.97 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.1348, allocations: 119.4 kB / 1.029 GB, free: 11.85 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.1348, allocations: 8 kB / 1.029 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.1348, allocations: 3.938 kB / 1.029 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1348, allocations: 3.984 kB / 1.029 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000427/0.1352, allocations: 0.515 MB / 1.03 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1352, allocations: 0 / 1.03 GB, free: 11.26 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.595e-05/0.1353, allocations: 27.98 kB / 1.03 GB, free: 11.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1353, allocations: 7.984 kB / 1.03 GB, free: 11.22 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.1353, allocations: 4 kB / 1.03 GB, free: 11.22 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1353, allocations: 224 / 1.03 GB, free: 11.22 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1353, allocations: 11.94 kB / 1.03 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.1356, allocations: 345.5 kB / 1.03 GB, free: 10.82 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.1356, allocations: 43.72 kB / 1.03 GB, free: 10.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.1356, allocations: 4 kB / 1.03 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.1357, allocations: 11.98 kB / 1.03 GB, free: 10.76 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.1357, allocations: 19.92 kB / 1.03 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.1357, allocations: 4 kB / 1.03 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 7.575e-05/0.1358, allocations: 189.1 kB / 1.03 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.1358, allocations: 0 / 1.03 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002593/0.1361, allocations: 95.86 kB / 1.03 GB, free: 10.46 MB / 0.9948 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.0001701/0.1363, allocations: 131.1 kB / 1.031 GB, free: 10.33 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.1364, allocations: 91.45 kB / 1.031 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.1364, allocations: 0 / 1.031 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 5.008e-05/0.1364, allocations: 52.16 kB / 1.031 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.1369, allocations: 115.3 kB / 1.031 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000813/0.1377, allocations: 0.559 MB / 1.031 GB, free: 9.445 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.962e-05/0.1377, allocations: 100.3 kB / 1.031 GB, free: 9.328 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 8.841e-05/0.1378, allocations: 38.27 kB / 1.031 GB, free: 9.289 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.138, allocations: 150.1 kB / 1.032 GB, free: 9.141 MB / 0.9948 GB Notification: Performance of SimCode: time 5.31e-07/0.138, allocations: 0 / 1.032 GB, free: 9.141 MB / 0.9948 GB Notification: Performance of Templates: time 0.006713/0.1447, allocations: 4.994 MB / 1.036 GB, free: 4.281 MB / 0.9948 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.716901250649244]