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.001003/0.001003, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001049/0.001049, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9286/0.9286, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.145/2.145, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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 2.485e-06/2.485e-06, allocations: 0 / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.196e-05/3.444e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1456/0.1456, allocations: 163.7 MB / 1.038 GB, free: 2.422 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002317/0.1479, allocations: 1.552 MB / 1.04 GB, free: 0.8672 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.1482, allocations: 15.88 kB / 1.04 GB, free: 0.8516 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000439/0.1486, allocations: 158.9 kB / 1.04 GB, free: 0.6953 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.1503, allocations: 0.7151 MB / 1.04 GB, free: 15.97 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001572/0.1518, allocations: 0.6462 MB / 1.041 GB, free: 15.32 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0007147/0.1526, allocations: 0.6854 MB / 1.042 GB, free: 14.63 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.1529, allocations: 181.5 kB / 1.042 GB, free: 14.46 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.154, allocations: 0.5802 MB / 1.042 GB, free: 13.88 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.1543, allocations: 191.4 kB / 1.043 GB, free: 13.69 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.44e-05/0.1544, allocations: 24 kB / 1.043 GB, free: 13.66 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.1556, allocations: 0.7281 MB / 1.043 GB, free: 12.93 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.1557, allocations: 115.6 kB / 1.043 GB, free: 12.82 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.1559, allocations: 119.7 kB / 1.044 GB, free: 12.7 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0007649/0.1566, allocations: 0.6386 MB / 1.044 GB, free: 12.06 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1566, allocations: 0 / 1.044 GB, free: 12.06 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.836e-06/0.1566, allocations: 3.984 kB / 1.044 GB, free: 12.06 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1566, allocations: 0 / 1.044 GB, free: 12.06 MB / 1.01 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.0007001/0.1573, allocations: 0.6703 MB / 1.045 GB, free: 11.35 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1574, allocations: 12.03 kB / 1.045 GB, free: 11.34 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007797/0.1582, allocations: 211.2 kB / 1.045 GB, free: 11.13 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.1585, allocations: 267.3 kB / 1.045 GB, free: 10.85 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1585, allocations: 20.5 kB / 1.045 GB, free: 10.83 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.1585, allocations: 16 kB / 1.045 GB, free: 10.81 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.1588, allocations: 235.2 kB / 1.046 GB, free: 10.55 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1588, allocations: 7.922 kB / 1.046 GB, free: 10.55 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.1589, allocations: 8 kB / 1.046 GB, free: 10.54 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.1589, allocations: 7.938 kB / 1.046 GB, free: 10.53 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.159, allocations: 87.88 kB / 1.046 GB, free: 10.45 MB / 1.01 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.0009226/0.1599, allocations: 1.136 MB / 1.047 GB, free: 9.254 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.1601, allocations: 90.97 kB / 1.047 GB, free: 9.152 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.1601, allocations: 39.67 kB / 1.047 GB, free: 9.109 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.1604, allocations: 59.94 kB / 1.047 GB, free: 9.051 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.1604, allocations: 37.39 kB / 1.047 GB, free: 9.004 MB / 1.01 GB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/0.1604, allocations: 4 kB / 1.047 GB, free: 9 MB / 1.01 GB Notification: Performance of matching and sorting (n=15): time 0.0003534/0.1607, allocations: 161.7 kB / 1.047 GB, free: 8.836 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.1608, allocations: 59.34 kB / 1.047 GB, free: 8.766 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.161, allocations: 288.2 kB / 1.048 GB, free: 8.465 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.161, allocations: 29.7 kB / 1.048 GB, free: 8.43 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1611, allocations: 231 kB / 1.048 GB, free: 8.199 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.1612, allocations: 59.52 kB / 1.048 GB, free: 8.141 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.1612, allocations: 51.36 kB / 1.048 GB, free: 8.082 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1614, allocations: 0.5079 MB / 1.048 GB, free: 7.562 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.1614, allocations: 27.98 kB / 1.048 GB, free: 7.535 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.1615, allocations: 169.1 kB / 1.049 GB, free: 7.328 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.1616, allocations: 113.4 kB / 1.049 GB, free: 7.195 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1616, allocations: 0 / 1.049 GB, free: 7.195 MB / 1.01 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001974/0.1618, allocations: 173.1 kB / 1.049 GB, free: 7.023 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1619, allocations: 4 kB / 1.049 GB, free: 7.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.1619, allocations: 4 kB / 1.049 GB, free: 7.016 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1619, allocations: 4.094 kB / 1.049 GB, free: 7.012 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.162, allocations: 36.12 kB / 1.049 GB, free: 6.977 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.162, allocations: 7.938 kB / 1.049 GB, free: 6.969 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.205e-05/0.1621, allocations: 23.78 kB / 1.049 GB, free: 6.945 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.1621, allocations: 15.97 kB / 1.049 GB, free: 6.93 MB / 1.01 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.0002203/0.1623, allocations: 164.6 kB / 1.049 GB, free: 6.758 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.1624, allocations: 31.8 kB / 1.049 GB, free: 6.727 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.1626, allocations: 138.7 kB / 1.049 GB, free: 6.59 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1626, allocations: 0 / 1.049 GB, free: 6.59 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1626, allocations: 4 kB / 1.049 GB, free: 6.586 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1626, allocations: 3.984 kB / 1.049 GB, free: 6.582 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000512/0.1631, allocations: 0.5613 MB / 1.05 GB, free: 5.949 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1631, allocations: 0 / 1.05 GB, free: 5.949 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-05/0.1632, allocations: 39.92 kB / 1.05 GB, free: 5.91 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1632, allocations: 0 / 1.05 GB, free: 5.91 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.1632, allocations: 4.219 kB / 1.05 GB, free: 5.906 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1632, allocations: 8 kB / 1.05 GB, free: 5.898 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.1632, allocations: 4 kB / 1.05 GB, free: 5.895 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.1635, allocations: 353.4 kB / 1.05 GB, free: 5.5 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.1635, allocations: 43.77 kB / 1.05 GB, free: 5.457 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.1635, allocations: 4 kB / 1.05 GB, free: 5.453 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.1636, allocations: 8 kB / 1.05 GB, free: 5.445 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.1637, allocations: 19.86 kB / 1.05 GB, free: 5.426 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.1637, allocations: 11.98 kB / 1.05 GB, free: 5.414 MB / 1.01 GB Notification: Performance of sorting global known variables: time 9.827e-05/0.1638, allocations: 201.1 kB / 1.05 GB, free: 5.219 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1638, allocations: 4.031 kB / 1.05 GB, free: 5.215 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002632/0.164, allocations: 87.78 kB / 1.051 GB, free: 5.129 MB / 1.01 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.0002186/0.1642, allocations: 151.1 kB / 1.051 GB, free: 4.973 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001781/0.1644, allocations: 95.52 kB / 1.051 GB, free: 4.875 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1644, allocations: 0 / 1.051 GB, free: 4.875 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.4e-05/0.1645, allocations: 55.98 kB / 1.051 GB, free: 4.816 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.1649, allocations: 113.5 kB / 1.051 GB, free: 4.707 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009607/0.1659, allocations: 0.5632 MB / 1.052 GB, free: 4.078 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.055e-05/0.166, allocations: 104.2 kB / 1.052 GB, free: 3.957 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.1661, allocations: 50.25 kB / 1.052 GB, free: 3.906 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.501e-05/0.1661, allocations: 24.5 kB / 1.052 GB, free: 3.883 MB / 1.01 GB Notification: Performance of SimCode: time 8.62e-07/0.1661, allocations: 0 / 1.052 GB, free: 3.883 MB / 1.01 GB Notification: Performance of Templates: time 0.3942/0.5603, allocations: 4.71 MB / 1.056 GB, free: 81.79 MB / 1.01 GB " [Timeout remaining time 299] 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: 6.091561080887914]