Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001012/0.001012, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009189/0.0009189, allocations: 173 kB / 23.02 MB, free: 1.547 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.883/0.883, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.059/2.059, allocations: 429.5 MB / 0.6733 GB, free: 4.043 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.Velocity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.v|senSteSta.v",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Sensors.Examples.Velocity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.547e-05/3.736e-05, allocations: 3.406 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1389/0.139, allocations: 146.6 MB / 1.021 GB, free: 3.211 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1406, allocations: 1.259 MB / 1.023 GB, free: 1.949 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.1408, allocations: 15.81 kB / 1.023 GB, free: 1.934 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003778/0.1412, allocations: 79.34 kB / 1.023 GB, free: 1.855 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0009768/0.1422, allocations: 393.7 kB / 1.023 GB, free: 1.469 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007483/0.1429, allocations: 462.7 kB / 1.023 GB, free: 1.016 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0006097/0.1435, allocations: 0.6863 MB / 1.024 GB, free: 332 kB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002897/0.1438, allocations: 193.5 kB / 1.024 GB, free: 140 kB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005108/0.1444, allocations: 378.9 kB / 1.025 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.1446, allocations: 203.4 kB / 1.025 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.1446, allocations: 20 kB / 1.025 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004037/0.145, allocations: 307.1 kB / 1.025 GB, free: 15.25 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.1451, allocations: 119.6 kB / 1.025 GB, free: 15.13 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.817e-05/0.1452, allocations: 111.8 kB / 1.025 GB, free: 15.02 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.1457, allocations: 454.5 kB / 1.026 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1457, allocations: 0 / 1.026 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1457, allocations: 0 / 1.026 GB, free: 14.57 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.1457, allocations: 0 / 1.026 GB, free: 14.57 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006723/0.1464, allocations: 0.659 MB / 1.027 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1464, allocations: 8.031 kB / 1.027 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006689/0.1471, allocations: 208 kB / 1.027 GB, free: 13.67 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.1474, allocations: 271.4 kB / 1.027 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.1474, allocations: 24.44 kB / 1.027 GB, free: 13.35 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.1474, allocations: 24 kB / 1.027 GB, free: 13.33 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.1478, allocations: 240 kB / 1.027 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1478, allocations: 3.938 kB / 1.027 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.1478, allocations: 8 kB / 1.027 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1478, allocations: 4 kB / 1.027 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.1479, allocations: 92.98 kB / 1.027 GB, free: 12.96 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.0009802/0.1489, allocations: 1.142 MB / 1.028 GB, free: 11.77 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.1491, allocations: 98.91 kB / 1.029 GB, free: 11.66 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.992e-05/0.1491, allocations: 39.67 kB / 1.029 GB, free: 11.61 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.1494, allocations: 47.94 kB / 1.029 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.1494, allocations: 41.39 kB / 1.029 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=17): time 1.463e-06/0.1494, allocations: 0 / 1.029 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of matching and sorting (n=17): time 0.0003706/0.1498, allocations: 179.9 kB / 1.029 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1498, allocations: 55.41 kB / 1.029 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.15, allocations: 292.3 kB / 1.029 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.15, allocations: 25.7 kB / 1.029 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.1501, allocations: 242.9 kB / 1.029 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.1502, allocations: 59.48 kB / 1.029 GB, free: 10.63 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.1502, allocations: 55.31 kB / 1.03 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000238/0.1505, allocations: 0.5079 MB / 1.03 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.263e-05/0.1505, allocations: 27.98 kB / 1.03 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.1506, allocations: 173.9 kB / 1.03 GB, free: 9.812 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1508, allocations: 136.8 kB / 1.03 GB, free: 9.656 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1508, allocations: 3.938 kB / 1.03 GB, free: 9.652 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002027/0.151, allocations: 161.4 kB / 1.031 GB, free: 9.488 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.151, allocations: 4 kB / 1.031 GB, free: 9.484 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.151, allocations: 8.094 kB / 1.031 GB, free: 9.477 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.151, allocations: 0 / 1.031 GB, free: 9.477 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1512, allocations: 47.92 kB / 1.031 GB, free: 9.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1512, allocations: 3.984 kB / 1.031 GB, free: 9.426 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.057e-05/0.1512, allocations: 19.83 kB / 1.031 GB, free: 9.406 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.1513, allocations: 12 kB / 1.031 GB, free: 9.395 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 (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 9.357e-05/0.1514, allocations: 172.5 kB / 1.031 GB, free: 9.215 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.372e-05/0.1514, allocations: 31.81 kB / 1.031 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.1516, allocations: 143.7 kB / 1.031 GB, free: 9.035 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.1516, allocations: 4 kB / 1.031 GB, free: 9.031 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1516, allocations: 0 / 1.031 GB, free: 9.031 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1516, allocations: 4 kB / 1.031 GB, free: 9.027 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005484/0.1522, allocations: 0.5885 MB / 1.032 GB, free: 8.367 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1522, allocations: 0 / 1.032 GB, free: 8.367 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.1523, allocations: 35.92 kB / 1.032 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.1523, allocations: 224 / 1.032 GB, free: 8.332 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.1523, allocations: 15.94 kB / 1.032 GB, free: 8.316 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1523, allocations: 7.984 kB / 1.032 GB, free: 8.309 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1523, allocations: 3.938 kB / 1.032 GB, free: 8.305 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.1526, allocations: 367.6 kB / 1.032 GB, free: 7.898 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.1526, allocations: 35.8 kB / 1.032 GB, free: 7.863 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.1527, allocations: 11.98 kB / 1.032 GB, free: 7.852 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.1527, allocations: 4 kB / 1.032 GB, free: 7.848 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.1528, allocations: 19.92 kB / 1.032 GB, free: 7.828 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.1528, allocations: 4 kB / 1.032 GB, free: 7.824 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001087/0.1529, allocations: 213.1 kB / 1.032 GB, free: 7.617 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.1529, allocations: 4 kB / 1.032 GB, free: 7.613 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002607/0.1532, allocations: 87.83 kB / 1.032 GB, free: 7.527 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 (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.0002328/0.1534, allocations: 129.9 kB / 1.032 GB, free: 7.395 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.1536, allocations: 103.5 kB / 1.033 GB, free: 7.289 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.1536, allocations: 8.125 kB / 1.033 GB, free: 7.281 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.118e-05/0.1537, allocations: 51.61 kB / 1.033 GB, free: 7.227 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.1541, allocations: 121.2 kB / 1.033 GB, free: 7.109 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1551, allocations: 0.5939 MB / 1.033 GB, free: 6.453 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.187e-05/0.1552, allocations: 104.3 kB / 1.033 GB, free: 6.332 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.1553, allocations: 50.25 kB / 1.033 GB, free: 6.281 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.973e-05/0.1554, allocations: 24.5 kB / 1.033 GB, free: 6.254 MB / 0.9948 GB Notification: Performance of SimCode: time 9.72e-07/0.1554, allocations: 0 / 1.033 GB, free: 6.254 MB / 0.9948 GB Notification: Performance of Templates: time 0.007212/0.1626, allocations: 4.849 MB / 1.038 GB, free: 1.527 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.594062585849315]