Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.001329/0.001329, allocations: 93.06 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.001394/0.001394, allocations: 169 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.9254/0.9254, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.004/2.004, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.[0-9,]+.|modAirRev.conEqn.sta_b.X.[0-9,]+.|modAirNoRev.conEqn.sta_b.X.[0-9,]+.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.[0-9,]+.|modAirRev.conEqn.sta_b.X.[0-9,]+.|modAirNoRev.conEqn.sta_b.X.[0-9,]+.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.844e-05/2.004e-05, allocations: 6.328 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1292/0.1292, allocations: 153.6 MB / 1.028 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005548/0.1347, allocations: 4.801 MB / 1.033 GB, free: 7.418 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005453/0.1353, allocations: 59.44 kB / 1.033 GB, free: 7.359 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008607/0.1361, allocations: 412.9 kB / 1.033 GB, free: 6.953 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.1378, allocations: 1.239 MB / 1.034 GB, free: 5.707 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.1396, allocations: 1.485 MB / 1.036 GB, free: 4.227 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002191/0.1418, allocations: 2.861 MB / 1.039 GB, free: 1.355 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007934/0.1426, allocations: 0.6874 MB / 1.039 GB, free: 0.6562 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001813/0.1444, allocations: 1.495 MB / 1.041 GB, free: 15.2 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006323/0.1451, allocations: 0.6776 MB / 1.042 GB, free: 14.52 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.1452, allocations: 96 kB / 1.042 GB, free: 14.43 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008921/0.1461, allocations: 0.7211 MB / 1.042 GB, free: 13.7 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.1464, allocations: 390.7 kB / 1.043 GB, free: 13.32 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.1467, allocations: 383.1 kB / 1.043 GB, free: 12.95 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.1479, allocations: 1.363 MB / 1.044 GB, free: 11.58 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1479, allocations: 8 kB / 1.044 GB, free: 11.57 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1479, allocations: 0 / 1.044 GB, free: 11.57 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.1479, allocations: 0 / 1.044 GB, free: 11.57 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001806/0.1497, allocations: 1.558 MB / 1.046 GB, free: 9.965 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.1497, allocations: 15.97 kB / 1.046 GB, free: 9.949 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.1509, allocations: 0.5033 MB / 1.046 GB, free: 9.445 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008375/0.1517, allocations: 0.875 MB / 1.047 GB, free: 8.547 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.1518, allocations: 53.44 kB / 1.047 GB, free: 8.492 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.081e-05/0.1518, allocations: 72 kB / 1.047 GB, free: 8.422 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.1529, allocations: 0.8598 MB / 1.048 GB, free: 7.492 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1529, allocations: 0 / 1.048 GB, free: 7.492 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-05/0.1529, allocations: 28 kB / 1.048 GB, free: 7.465 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.153, allocations: 29.3 kB / 1.048 GB, free: 7.438 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006516/0.1536, allocations: 421.2 kB / 1.049 GB, free: 7.02 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.002705/0.1563, allocations: 2.756 MB / 1.051 GB, free: 4.199 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005992/0.1569, allocations: 343.1 kB / 1.052 GB, free: 3.844 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.1572, allocations: 174.8 kB / 1.052 GB, free: 3.664 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.1573, allocations: 40.47 kB / 1.052 GB, free: 3.625 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004021/0.1577, allocations: 453.4 kB / 1.052 GB, free: 3.121 MB / 1.01 GB Notification: Performance of pre-optimization done (n=57): time 1.463e-06/0.1577, allocations: 0 / 1.052 GB, free: 3.121 MB / 1.01 GB Notification: Performance of matching and sorting (n=57): time 0.001012/0.1587, allocations: 0.641 MB / 1.053 GB, free: 2.457 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.1587, allocations: 140.9 kB / 1.053 GB, free: 2.289 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006921/0.1594, allocations: 0.7767 MB / 1.054 GB, free: 1.496 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.1595, allocations: 37.7 kB / 1.054 GB, free: 1.453 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/0.1597, allocations: 0.4915 MB / 1.054 GB, free: 0.9531 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.1598, allocations: 206.3 kB / 1.055 GB, free: 0.75 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.16, allocations: 147.9 kB / 1.055 GB, free: 0.5977 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1601, allocations: 0.5004 MB / 1.055 GB, free: 92 kB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.444/0.6041, allocations: 129.7 kB / 1.055 GB, free: 64.32 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003902/0.6045, allocations: 0.5981 MB / 1.056 GB, free: 63.74 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.6049, allocations: 443.4 kB / 1.056 GB, free: 63.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.6049, allocations: 4.094 kB / 1.056 GB, free: 63.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008071/0.6057, allocations: 0.5752 MB / 1.057 GB, free: 63.41 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.6057, allocations: 41.69 kB / 1.057 GB, free: 63.38 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.6057, allocations: 2.75 kB / 1.057 GB, free: 63.38 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.6058, allocations: 8.438 kB / 1.057 GB, free: 63.38 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.6062, allocations: 160 kB / 1.057 GB, free: 63.38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.6062, allocations: 10.34 kB / 1.057 GB, free: 63.38 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.6066, allocations: 144.2 kB / 1.057 GB, free: 63.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/0.6067, allocations: 34.28 kB / 1.057 GB, free: 63.38 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * 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.0002225/0.6069, allocations: 235.2 kB / 1.058 GB, free: 63.19 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.607, allocations: 115.1 kB / 1.058 GB, free: 63.19 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006675/0.6077, allocations: 0.5737 MB / 1.058 GB, free: 63.07 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.6077, allocations: 13.69 kB / 1.058 GB, free: 63.07 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6077, allocations: 6.344 kB / 1.058 GB, free: 63.07 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.6077, allocations: 3.766 kB / 1.058 GB, free: 63.07 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.6094, allocations: 2.052 MB / 1.06 GB, free: 62.13 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.6094, allocations: 13 kB / 1.06 GB, free: 62.13 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002481/0.6097, allocations: 103.9 kB / 1.06 GB, free: 62.13 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.6097, allocations: 12.44 kB / 1.06 GB, free: 62.13 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/0.6097, allocations: 27.78 kB / 1.06 GB, free: 62.13 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.6097, allocations: 15.19 kB / 1.06 GB, free: 62.13 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.6097, allocations: 13.38 kB / 1.06 GB, free: 62.13 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006702/0.6104, allocations: 1.086 MB / 1.061 GB, free: 61.34 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.6106, allocations: 220.8 kB / 1.062 GB, free: 61.29 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.588e-05/0.6107, allocations: 22.84 kB / 1.062 GB, free: 61.29 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003768/0.6111, allocations: 64.48 kB / 1.062 GB, free: 61.29 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/0.6111, allocations: 65.31 kB / 1.062 GB, free: 61.29 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.6112, allocations: 43.45 kB / 1.062 GB, free: 61.29 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0003193/0.6115, allocations: 482.5 kB / 1.062 GB, free: 61.14 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6115, allocations: 0 / 1.062 GB, free: 61.14 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005774/0.6121, allocations: 297.9 kB / 1.063 GB, free: 61.13 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0002909/0.6124, allocations: 222.6 kB / 1.063 GB, free: 61.04 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000563/0.6129, allocations: 492 kB / 1.063 GB, free: 60.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6129, allocations: 0 / 1.063 GB, free: 60.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.6132, allocations: 302.5 kB / 1.064 GB, free: 60.79 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009733/0.6142, allocations: 366.1 kB / 1.064 GB, free: 60.78 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.616, allocations: 1.816 MB / 1.066 GB, free: 59.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.6161, allocations: 218.1 kB / 1.066 GB, free: 59.64 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0004537/0.6166, allocations: 211.8 kB / 1.066 GB, free: 59.63 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.6168, allocations: 70.64 kB / 1.066 GB, free: 59.62 MB / 1.01 GB Notification: Performance of SimCode: time 9.92e-07/0.6168, allocations: 0.6562 kB / 1.066 GB, free: 59.62 MB / 1.01 GB Notification: Performance of Templates: time 0.01729/0.634, allocations: 17.08 MB / 1.083 GB, free: 57.98 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.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.019348478876054]