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.001349/0.001349, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001705/0.001705, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9521/0.9521, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.854/1.854, allocations: 359 MB / 0.6052 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 177] 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 2.325e-06/2.325e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.081e-05/3.313e-05, allocations: 3.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1537/0.1537, allocations: 146.5 MB / 0.9302 GB, free: 9.457 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.1557, allocations: 1.281 MB / 0.9315 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.156, allocations: 19.81 kB / 0.9315 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.1563, allocations: 75.34 kB / 0.9316 GB, free: 8.078 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0008281/0.1572, allocations: 401.7 kB / 0.9319 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008651/0.158, allocations: 446.8 kB / 0.9324 GB, free: 7.246 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0006542/0.1587, allocations: 0.7126 MB / 0.9331 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.159, allocations: 189.4 kB / 0.9332 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004843/0.1595, allocations: 367 kB / 0.9336 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.1597, allocations: 203.4 kB / 0.9338 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 3.762e-05/0.1597, allocations: 24 kB / 0.9338 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000467/0.1602, allocations: 307.1 kB / 0.9341 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1603, allocations: 123.6 kB / 0.9342 GB, free: 5.34 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1604, allocations: 107.8 kB / 0.9343 GB, free: 5.234 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0005503/0.161, allocations: 438.5 kB / 0.9347 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.161, allocations: 0 / 0.9347 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.623e-06/0.161, allocations: 0 / 0.9347 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.161, allocations: 0 / 0.9347 GB, free: 4.805 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.00072/0.1617, allocations: 0.6476 MB / 0.9354 GB, free: 4.121 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.1617, allocations: 16.03 kB / 0.9354 GB, free: 4.105 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007152/0.1625, allocations: 208.1 kB / 0.9356 GB, free: 3.902 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.1628, allocations: 263.4 kB / 0.9358 GB, free: 3.617 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1628, allocations: 24.88 kB / 0.9359 GB, free: 3.594 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.1628, allocations: 20.38 kB / 0.9359 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003102/0.1632, allocations: 235.1 kB / 0.9361 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1632, allocations: 0 / 0.9361 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.1632, allocations: 15.94 kB / 0.9361 GB, free: 3.301 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.1632, allocations: 7.938 kB / 0.9361 GB, free: 3.293 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.1633, allocations: 91.81 kB / 0.9362 GB, free: 3.203 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.00102/0.1644, allocations: 1.129 MB / 0.9373 GB, free: 2.02 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.1645, allocations: 94.95 kB / 0.9374 GB, free: 1.914 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.1646, allocations: 35.95 kB / 0.9374 GB, free: 1.875 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.1648, allocations: 47.95 kB / 0.9375 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1648, allocations: 45.27 kB / 0.9375 GB, free: 1.773 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 2.205e-06/0.1648, allocations: 4 kB / 0.9375 GB, free: 1.77 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0004034/0.1652, allocations: 165.3 kB / 0.9377 GB, free: 1.602 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.1653, allocations: 55.41 kB / 0.9378 GB, free: 1.535 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.1655, allocations: 284.3 kB / 0.938 GB, free: 1.238 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.1655, allocations: 33.7 kB / 0.9381 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.1656, allocations: 231 kB / 0.9383 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.071e-05/0.1657, allocations: 59.48 kB / 0.9383 GB, free: 0.9102 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/0.1657, allocations: 47.36 kB / 0.9384 GB, free: 0.8555 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1659, allocations: 0.504 MB / 0.9389 GB, free: 348 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.089e-05/0.1659, allocations: 27.98 kB / 0.9389 GB, free: 320 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.1661, allocations: 173.2 kB / 0.9391 GB, free: 104 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1662, allocations: 120.2 kB / 0.9392 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1662, allocations: 0 / 0.9392 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002259/0.1665, allocations: 165.4 kB / 0.9393 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1665, allocations: 4 kB / 0.9393 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1665, allocations: 4.094 kB / 0.9393 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1665, allocations: 4 kB / 0.9393 GB, free: 15.78 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.1666, allocations: 35.98 kB / 0.9394 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.1666, allocations: 11.92 kB / 0.9394 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.253e-05/0.1667, allocations: 15.89 kB / 0.9394 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.1668, allocations: 8 kB / 0.9394 GB, free: 15.71 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.0001142/0.1669, allocations: 172.5 kB / 0.9396 GB, free: 15.53 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.1669, allocations: 31.81 kB / 0.9396 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.1672, allocations: 142.6 kB / 0.9397 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1672, allocations: 0 / 0.9397 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1672, allocations: 4 kB / 0.9397 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.1672, allocations: 0 / 0.9397 GB, free: 15.35 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000697/0.1679, allocations: 0.5612 MB / 0.9403 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.1679, allocations: 7.938 kB / 0.9403 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.168, allocations: 31.92 kB / 0.9403 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.063e-06/0.168, allocations: 7.984 kB / 0.9403 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.168, allocations: 4.219 kB / 0.9403 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.168, allocations: 8.016 kB / 0.9404 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.168, allocations: 7.984 kB / 0.9404 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003805/0.1684, allocations: 361.4 kB / 0.9407 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.1685, allocations: 35.84 kB / 0.9407 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.1685, allocations: 8 kB / 0.9407 GB, free: 14.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.1686, allocations: 11.92 kB / 0.9408 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.1687, allocations: 15.92 kB / 0.9408 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1687, allocations: 8 kB / 0.9408 GB, free: 14.18 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001355/0.1688, allocations: 201.2 kB / 0.941 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1688, allocations: 0 / 0.941 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004022/0.1692, allocations: 87.81 kB / 0.9411 GB, free: 13.89 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.0002613/0.1695, allocations: 131.2 kB / 0.9412 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002328/0.1697, allocations: 99.52 kB / 0.9413 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1697, allocations: 0 / 0.9413 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 7.932e-05/0.1698, allocations: 55.73 kB / 0.9413 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.1704, allocations: 120.9 kB / 0.9414 GB, free: 13.48 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.1717, allocations: 0.5748 MB / 0.942 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.706e-05/0.1717, allocations: 96.3 kB / 0.9421 GB, free: 12.73 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000164/0.1719, allocations: 54.39 kB / 0.9422 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.172, allocations: 28.5 kB / 0.9422 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of SimCode: time 1.403e-06/0.172, allocations: 0 / 0.9422 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of Templates: time 0.009038/0.181, allocations: 4.973 MB / 0.947 GB, free: 7.824 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.599958903156221]