Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001424/0.001424, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.002036/0.002036, allocations: 165 kB / 23.82 MB, free: 0.7461 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 1.031/1.031, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.862/1.862, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.888e-05, allocations: 5.75 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1417/0.1418, allocations: 146.5 MB / 0.9302 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.1437, allocations: 1.29 MB / 0.9315 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002226/0.1439, allocations: 15.88 kB / 0.9315 GB, free: 8.137 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.1443, allocations: 87.28 kB / 0.9316 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001038/0.1453, allocations: 389.8 kB / 0.9319 GB, free: 7.668 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.000928/0.1463, allocations: 454.7 kB / 0.9324 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0006803/0.147, allocations: 0.7049 MB / 0.9331 GB, free: 6.516 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003206/0.1473, allocations: 193.4 kB / 0.9333 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005014/0.1478, allocations: 367 kB / 0.9336 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.148, allocations: 203.4 kB / 0.9338 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.1481, allocations: 20 kB / 0.9338 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004612/0.1485, allocations: 307.1 kB / 0.9341 GB, free: 5.445 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.1486, allocations: 119.6 kB / 0.9342 GB, free: 5.328 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1487, allocations: 119.8 kB / 0.9343 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005742/0.1493, allocations: 434.5 kB / 0.9348 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1493, allocations: 0 / 0.9348 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.284e-06/0.1493, allocations: 7.938 kB / 0.9348 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.1493, allocations: 0 / 0.9348 GB, free: 4.777 MB / 0.8855 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.0008165/0.1501, allocations: 0.6437 MB / 0.9354 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1502, allocations: 8.031 kB / 0.9354 GB, free: 4.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007091/0.1509, allocations: 208.1 kB / 0.9356 GB, free: 3.887 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00034/0.1512, allocations: 275.9 kB / 0.9359 GB, free: 3.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1512, allocations: 16.88 kB / 0.9359 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.1513, allocations: 20.38 kB / 0.9359 GB, free: 3.555 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/0.1518, allocations: 239.1 kB / 0.9361 GB, free: 3.293 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1518, allocations: 4 kB / 0.9361 GB, free: 3.289 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1518, allocations: 12 kB / 0.9361 GB, free: 3.277 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.1519, allocations: 4 kB / 0.9361 GB, free: 3.273 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.152, allocations: 91.83 kB / 0.9362 GB, free: 3.184 MB / 0.8855 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.0009492/0.1529, allocations: 1.129 MB / 0.9373 GB, free: 2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.1531, allocations: 87.03 kB / 0.9374 GB, free: 1.902 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.1532, allocations: 39.95 kB / 0.9375 GB, free: 1.859 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/0.1534, allocations: 47.94 kB / 0.9375 GB, free: 1.812 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.1534, allocations: 49.27 kB / 0.9375 GB, free: 1.754 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/0.1534, allocations: 3.938 kB / 0.9376 GB, free: 1.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0003549/0.1538, allocations: 161.3 kB / 0.9377 GB, free: 1.586 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.1538, allocations: 55.41 kB / 0.9378 GB, free: 1.52 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.154, allocations: 288.3 kB / 0.938 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.154, allocations: 33.7 kB / 0.9381 GB, free: 1.18 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.1541, allocations: 235 kB / 0.9383 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1541, allocations: 59.48 kB / 0.9383 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.1542, allocations: 47.36 kB / 0.9384 GB, free: 0.832 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1543, allocations: 0.5079 MB / 0.9389 GB, free: 320 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.145e-05/0.1544, allocations: 23.98 kB / 0.9389 GB, free: 296 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.1545, allocations: 173 kB / 0.9391 GB, free: 80 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.1547, allocations: 122 kB / 0.9392 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1547, allocations: 0 / 0.9392 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002271/0.1549, allocations: 157.4 kB / 0.9393 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1549, allocations: 4 kB / 0.9393 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.1549, allocations: 4 kB / 0.9393 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.1549, allocations: 0 / 0.9393 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.1551, allocations: 39.92 kB / 0.9394 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1551, allocations: 4.094 kB / 0.9394 GB, free: 15.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.229e-05/0.1552, allocations: 23.89 kB / 0.9394 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.1552, allocations: 11.98 kB / 0.9394 GB, free: 15.69 MB / 0.9011 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 0.0001048/0.1553, allocations: 176.4 kB / 0.9396 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.1553, allocations: 31.81 kB / 0.9396 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.1555, allocations: 131.4 kB / 0.9397 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.1555, allocations: 144 / 0.9397 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1556, allocations: 3.984 kB / 0.9398 GB, free: 15.34 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1556, allocations: 3.984 kB / 0.9398 GB, free: 15.33 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000625/0.1562, allocations: 0.5691 MB / 0.9403 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1562, allocations: 0 / 0.9403 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.658e-05/0.1563, allocations: 31.92 kB / 0.9403 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1563, allocations: 4 kB / 0.9403 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1563, allocations: 8 kB / 0.9404 GB, free: 14.65 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1563, allocations: 3.938 kB / 0.9404 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/0.1563, allocations: 7.938 kB / 0.9404 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.1566, allocations: 364.3 kB / 0.9407 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.1567, allocations: 35.83 kB / 0.9407 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.1567, allocations: 8 kB / 0.9408 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.1568, allocations: 7.938 kB / 0.9408 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.1569, allocations: 19.91 kB / 0.9408 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1569, allocations: 8 kB / 0.9408 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001177/0.157, allocations: 197.1 kB / 0.941 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.157, allocations: 0 / 0.941 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003104/0.1573, allocations: 87.83 kB / 0.9411 GB, free: 13.88 MB / 0.9011 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.0002748/0.1576, allocations: 139.1 kB / 0.9412 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.1578, allocations: 99.52 kB / 0.9413 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1578, allocations: 0 / 0.9413 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 7.255e-05/0.1579, allocations: 51.59 kB / 0.9413 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.1584, allocations: 135.1 kB / 0.9415 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1595, allocations: 0.567 MB / 0.942 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.735e-05/0.1596, allocations: 96.3 kB / 0.9421 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.1597, allocations: 58.47 kB / 0.9422 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.1597, allocations: 24.5 kB / 0.9422 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of SimCode: time 7.01e-07/0.1597, allocations: 0 / 0.9422 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of Templates: time 0.007177/0.1669, allocations: 4.566 MB / 0.9466 GB, free: 8.203 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.6028145286254585]