Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.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.001002/0.001002, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.001062/0.001062, allocations: 185 kB / 24.09 MB, free: 412 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.994/0.994, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.821/1.821, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.812 GB, free: 292 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.891e-05, allocations: 2.312 kB / 0.812 GB, free: 288 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1215/0.1215, allocations: 143.9 MB / 0.9525 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.1235, allocations: 1.284 MB / 0.9538 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.1237, allocations: 19.81 kB / 0.9538 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.1239, allocations: 83.27 kB / 0.9539 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006662/0.1246, allocations: 393.8 kB / 0.9543 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007181/0.1253, allocations: 462.7 kB / 0.9547 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0005783/0.1259, allocations: 0.7097 MB / 0.9554 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003146/0.1262, allocations: 193.4 kB / 0.9556 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005526/0.1268, allocations: 386.9 kB / 0.956 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003715/0.1271, allocations: 195.4 kB / 0.9561 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/0.1272, allocations: 31.98 kB / 0.9562 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004222/0.1276, allocations: 307.1 kB / 0.9565 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 9.044e-05/0.1277, allocations: 123.6 kB / 0.9566 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 8.791e-05/0.1278, allocations: 119.7 kB / 0.9567 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004214/0.1282, allocations: 446.5 kB / 0.9571 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1282, allocations: 0 / 0.9571 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1282, allocations: 0 / 0.9571 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.1282, allocations: 0 / 0.9571 GB, free: 11.22 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0005449/0.1288, allocations: 0.6627 MB / 0.9578 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.1288, allocations: 12.03 kB / 0.9578 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006145/0.1294, allocations: 216.1 kB / 0.958 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.1297, allocations: 263.5 kB / 0.9582 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.1297, allocations: 24.44 kB / 0.9583 GB, free: 9.992 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.1297, allocations: 24 kB / 0.9583 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.1299, allocations: 227.9 kB / 0.9585 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.1299, allocations: 0 / 0.9585 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.13, allocations: 4 kB / 0.9585 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.13, allocations: 8 kB / 0.9585 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.513e-05/0.13, allocations: 80.73 kB / 0.9586 GB, free: 9.629 MB / 0.8698 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.0007373/0.1308, allocations: 1.096 MB / 0.9597 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1309, allocations: 90.89 kB / 0.9597 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/0.1309, allocations: 43.59 kB / 0.9598 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/0.1311, allocations: 51.95 kB / 0.9598 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.1311, allocations: 33.39 kB / 0.9599 GB, free: 8.242 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 1.133e-06/0.1311, allocations: 4 kB / 0.9599 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.000265/0.1314, allocations: 159.7 kB / 0.96 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.1314, allocations: 51.41 kB / 0.9601 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.1315, allocations: 302.2 kB / 0.9604 GB, free: 7.703 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1316, allocations: 29.7 kB / 0.9604 GB, free: 7.668 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 9.875e-05/0.1317, allocations: 234.9 kB / 0.9606 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.1317, allocations: 63.42 kB / 0.9607 GB, free: 7.371 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.283e-05/0.1317, allocations: 59.28 kB / 0.9607 GB, free: 7.305 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1319, allocations: 0.5078 MB / 0.9612 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.1319, allocations: 23.98 kB / 0.9613 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.746e-05/0.132, allocations: 164.6 kB / 0.9614 GB, free: 6.559 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.626e-05/0.1321, allocations: 114 kB / 0.9615 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1321, allocations: 0 / 0.9615 GB, free: 6.422 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001609/0.1322, allocations: 162.8 kB / 0.9617 GB, free: 6.258 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.1322, allocations: 8 kB / 0.9617 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1322, allocations: 0 / 0.9617 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.1323, allocations: 12.03 kB / 0.9617 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.784e-05/0.1323, allocations: 39.97 kB / 0.9617 GB, free: 6.199 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.968e-06/0.1324, allocations: 4 kB / 0.9617 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.272e-05/0.1324, allocations: 23.84 kB / 0.9618 GB, free: 6.172 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.1324, allocations: 8 kB / 0.9618 GB, free: 6.164 MB / 0.8698 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 (24): * Single equations (assignments): 24 * 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.725e-05/0.1325, allocations: 164.5 kB / 0.9619 GB, free: 5.992 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.1326, allocations: 39.78 kB / 0.962 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.1327, allocations: 135.6 kB / 0.9621 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1327, allocations: 0 / 0.9621 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1327, allocations: 4 kB / 0.9621 GB, free: 5.812 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1327, allocations: 7.984 kB / 0.9621 GB, free: 5.805 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.1331, allocations: 0.5188 MB / 0.9626 GB, free: 5.223 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1331, allocations: 4 kB / 0.9626 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-05/0.1332, allocations: 27.98 kB / 0.9626 GB, free: 5.191 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1332, allocations: 4 kB / 0.9626 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1332, allocations: 20.16 kB / 0.9627 GB, free: 5.168 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1332, allocations: 4 kB / 0.9627 GB, free: 5.164 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.1332, allocations: 7.922 kB / 0.9627 GB, free: 5.156 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.1336, allocations: 359 kB / 0.963 GB, free: 4.758 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.1336, allocations: 39.78 kB / 0.9631 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.1337, allocations: 4 kB / 0.9631 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.987e-05/0.1337, allocations: 11.98 kB / 0.9631 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.1338, allocations: 19.92 kB / 0.9631 GB, free: 4.684 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.1338, allocations: 4 kB / 0.9631 GB, free: 4.68 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.893e-05/0.1339, allocations: 207 kB / 0.9633 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1339, allocations: 0 / 0.9633 GB, free: 4.48 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002372/0.1341, allocations: 91.84 kB / 0.9634 GB, free: 4.391 MB / 0.8698 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 (17): * Single equations (assignments): 17 * 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.0001532/0.1342, allocations: 127.1 kB / 0.9635 GB, free: 4.254 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.1344, allocations: 103.5 kB / 0.9636 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-06/0.1344, allocations: 192 / 0.9636 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.97e-05/0.1344, allocations: 55.48 kB / 0.9637 GB, free: 4.09 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.1348, allocations: 135.4 kB / 0.9638 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.1356, allocations: 0.5981 MB / 0.9644 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.747e-05/0.1357, allocations: 100.2 kB / 0.9645 GB, free: 3.188 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 8.82e-05/0.1357, allocations: 38.27 kB / 0.9645 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.1359, allocations: 162.1 kB / 0.9647 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of SimCode: time 5.81e-07/0.1359, allocations: 0 / 0.9647 GB, free: 2.992 MB / 0.8698 GB Notification: Performance of Templates: time 0.006652/0.1426, allocations: 5.124 MB / 0.9697 GB, free: 14.01 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_Velocity.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.092344807926565]