Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001446/0.001446, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001852/0.001852, allocations: 161 kB / 24.16 MB, free: 336 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 1.039/1.039, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.999/1.999, 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.696e-05, allocations: 7.609 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1537/0.1538, allocations: 146 MB / 0.9026 GB, free: 4.23 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.1553, allocations: 1.293 MB / 0.9039 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001503/0.1555, allocations: 23.81 kB / 0.9039 GB, free: 2.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.1558, allocations: 79.34 kB / 0.904 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006534/0.1564, allocations: 397.7 kB / 0.9044 GB, free: 2.441 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006265/0.157, allocations: 446.8 kB / 0.9048 GB, free: 2.004 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004997/0.1575, allocations: 0.697 MB / 0.9055 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.1578, allocations: 191.4 kB / 0.9057 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004139/0.1582, allocations: 367 kB / 0.906 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000199/0.1584, allocations: 175.5 kB / 0.9062 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.1584, allocations: 24 kB / 0.9062 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004083/0.1589, allocations: 311.1 kB / 0.9065 GB, free: 264 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.049e-05/0.1589, allocations: 115.6 kB / 0.9066 GB, free: 148 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 8.376e-05/0.159, allocations: 111.8 kB / 0.9067 GB, free: 36 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005717/0.1596, allocations: 442.5 kB / 0.9071 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1596, allocations: 0 / 0.9071 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.52e-07/0.1596, allocations: 0 / 0.9071 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.83e-06/0.1596, allocations: 3.984 kB / 0.9071 GB, free: 15.6 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005341/0.1601, allocations: 0.5189 MB / 0.9077 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.962e-05/0.1602, allocations: 8.031 kB / 0.9077 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007076/0.1609, allocations: 212.2 kB / 0.9079 GB, free: 14.84 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.1612, allocations: 252.6 kB / 0.9081 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1612, allocations: 12.88 kB / 0.9081 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.1612, allocations: 24.38 kB / 0.9081 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.1614, allocations: 223.7 kB / 0.9084 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.1615, allocations: 0 / 0.9084 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1615, allocations: 12 kB / 0.9084 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1615, allocations: 8 kB / 0.9084 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.165e-05/0.1616, allocations: 73.03 kB / 0.9084 GB, free: 14.2 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.0006673/0.1622, allocations: 0.7707 MB / 0.9092 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1623, allocations: 121.1 kB / 0.9093 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.1624, allocations: 35.97 kB / 0.9093 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.1626, allocations: 47.88 kB / 0.9094 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.1626, allocations: 42.56 kB / 0.9094 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.1626, allocations: 0 / 0.9094 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0002562/0.1628, allocations: 115.8 kB / 0.9095 GB, free: 13.01 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.1629, allocations: 67.33 kB / 0.9096 GB, free: 12.93 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.163, allocations: 233 kB / 0.9098 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.163, allocations: 25.7 kB / 0.9099 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.795e-05/0.1631, allocations: 160.7 kB / 0.91 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.1631, allocations: 63.47 kB / 0.9101 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.1632, allocations: 41.69 kB / 0.9101 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.1632, allocations: 334.8 kB / 0.9104 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.332e-05/0.1633, allocations: 22.81 kB / 0.9104 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.666e-05/0.1634, allocations: 142.2 kB / 0.9106 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.492e-05/0.1634, allocations: 101.5 kB / 0.9107 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.1634, allocations: 7.938 kB / 0.9107 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001826/0.1636, allocations: 123.1 kB / 0.9108 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1636, allocations: 8 kB / 0.9108 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1636, allocations: 0 / 0.9108 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1637, allocations: 4 kB / 0.9108 GB, free: 11.58 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.1638, allocations: 39.98 kB / 0.9109 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1638, allocations: 4 kB / 0.9109 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.248e-05/0.1639, allocations: 15.83 kB / 0.9109 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.1639, allocations: 20.08 kB / 0.9109 GB, free: 11.5 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 (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 7.224e-05/0.164, allocations: 124.6 kB / 0.911 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.164, allocations: 19.98 kB / 0.911 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.1641, allocations: 111.3 kB / 0.9111 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.1641, allocations: 4 kB / 0.9111 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.1641, allocations: 0 / 0.9111 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1641, allocations: 0 / 0.9111 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004418/0.1646, allocations: 0.5038 MB / 0.9116 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1646, allocations: 0 / 0.9116 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.419e-05/0.1647, allocations: 31.92 kB / 0.9117 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1647, allocations: 4.141 kB / 0.9117 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1647, allocations: 7.938 kB / 0.9117 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1647, allocations: 4 kB / 0.9117 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1647, allocations: 8 kB / 0.9117 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.1649, allocations: 322.9 kB / 0.912 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.1649, allocations: 31.81 kB / 0.912 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.1649, allocations: 8 kB / 0.912 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.729e-05/0.165, allocations: 4 kB / 0.912 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.902e-05/0.1651, allocations: 27.84 kB / 0.9121 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-06/0.1651, allocations: 4 kB / 0.9121 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.41e-05/0.1651, allocations: 74.78 kB / 0.9121 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1651, allocations: 0 / 0.9121 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002255/0.1654, allocations: 91.77 kB / 0.9122 GB, free: 10.02 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 (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.0001721/0.1655, allocations: 116.3 kB / 0.9123 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.1657, allocations: 80.69 kB / 0.9124 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1657, allocations: 0 / 0.9124 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.598e-05/0.1657, allocations: 44.72 kB / 0.9125 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003926/0.1661, allocations: 124.4 kB / 0.9126 GB, free: 9.648 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008462/0.1669, allocations: 0.56 MB / 0.9131 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.884e-05/0.167, allocations: 104.2 kB / 0.9132 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.085e-05/0.1671, allocations: 30.28 kB / 0.9133 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.1673, allocations: 125.3 kB / 0.9134 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/0.1673, allocations: 0 / 0.9134 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of Templates: time 0.006704/0.174, allocations: 4.991 MB / 0.9182 GB, free: 3.922 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.457543550990522]