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.001013/0.001013, allocations: 93.06 kB / 19.65 MB, free: 280 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.001191/0.001191, allocations: 169 kB / 23.02 MB, free: 1.555 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.9874/0.9874, allocations: 177.1 MB / 203.4 MB, free: 5.672 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.126/2.126, allocations: 429.5 MB / 0.6732 GB, free: 4.07 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.893e-06/1.893e-06, allocations: 0 / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.306e-05/3.495e-05, allocations: 4.281 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1354/0.1355, allocations: 153.6 MB / 1.028 GB, free: 12.24 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006941/0.1424, allocations: 4.795 MB / 1.033 GB, free: 7.434 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.1437, allocations: 59.44 kB / 1.033 GB, free: 7.375 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000934/0.1446, allocations: 408.9 kB / 1.033 GB, free: 6.973 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.147, allocations: 1.243 MB / 1.034 GB, free: 5.723 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.1494, allocations: 1.486 MB / 1.036 GB, free: 4.242 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003171/0.1525, allocations: 2.861 MB / 1.039 GB, free: 1.371 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009536/0.1535, allocations: 0.6835 MB / 1.039 GB, free: 0.6758 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.1553, allocations: 1.291 MB / 1.041 GB, free: 15.4 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009315/0.1563, allocations: 0.7309 MB / 1.041 GB, free: 14.68 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.1564, allocations: 100 kB / 1.041 GB, free: 14.58 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.1577, allocations: 0.8145 MB / 1.042 GB, free: 13.77 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003076/0.158, allocations: 394.7 kB / 1.043 GB, free: 13.38 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003799/0.1584, allocations: 399 kB / 1.043 GB, free: 12.99 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.1602, allocations: 1.406 MB / 1.044 GB, free: 11.58 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.1603, allocations: 4 kB / 1.044 GB, free: 11.57 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.923e-06/0.1603, allocations: 0 / 1.044 GB, free: 11.57 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.1603, 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.002043/0.1623, allocations: 1.582 MB / 1.046 GB, free: 9.945 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1624, allocations: 8.031 kB / 1.046 GB, free: 9.938 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/0.1637, allocations: 0.5112 MB / 1.046 GB, free: 9.426 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00138/0.1651, allocations: 0.9621 MB / 1.047 GB, free: 8.438 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.336e-05/0.1651, allocations: 61.25 kB / 1.047 GB, free: 8.379 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.586e-05/0.1652, allocations: 68 kB / 1.048 GB, free: 8.312 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.1664, allocations: 0.8559 MB / 1.048 GB, free: 7.387 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.1664, allocations: 3.984 kB / 1.048 GB, free: 7.383 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.848e-05/0.1665, allocations: 32 kB / 1.048 GB, free: 7.352 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.054e-05/0.1665, allocations: 29.31 kB / 1.048 GB, free: 7.324 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007377/0.1673, allocations: 413.2 kB / 1.049 GB, free: 6.914 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.003073/0.1703, allocations: 2.737 MB / 1.051 GB, free: 4.105 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007033/0.171, allocations: 347.1 kB / 1.052 GB, free: 3.746 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002382/0.1713, allocations: 176.8 kB / 1.052 GB, free: 3.566 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.1714, allocations: 44.47 kB / 1.052 GB, free: 3.523 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004586/0.1719, allocations: 449.5 kB / 1.052 GB, free: 3.023 MB / 1.01 GB Notification: Performance of pre-optimization done (n=57): time 2.735e-06/0.1719, allocations: 0 / 1.052 GB, free: 3.023 MB / 1.01 GB Notification: Performance of matching and sorting (n=57): time 0.001148/0.173, allocations: 0.6446 MB / 1.053 GB, free: 2.355 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.1731, allocations: 140.8 kB / 1.053 GB, free: 2.188 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007488/0.1739, allocations: 0.7767 MB / 1.054 GB, free: 1.395 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.1739, allocations: 37.7 kB / 1.054 GB, free: 1.352 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.1742, allocations: 0.4954 MB / 1.054 GB, free: 0.8477 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.1743, allocations: 198.3 kB / 1.055 GB, free: 0.6523 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.1745, allocations: 155.8 kB / 1.055 GB, free: 0.4922 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.4473/0.6218, allocations: 0.4965 MB / 1.055 GB, free: 64.26 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005613/0.6223, allocations: 128.7 kB / 1.055 GB, free: 64.23 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/0.6228, allocations: 0.6727 MB / 1.056 GB, free: 63.57 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.6234, allocations: 439.9 kB / 1.057 GB, free: 63.34 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.6234, allocations: 6.688 kB / 1.057 GB, free: 63.34 MB / 1.01 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009606/0.6244, allocations: 0.5765 MB / 1.057 GB, free: 63.24 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.6244, allocations: 37.55 kB / 1.057 GB, free: 63.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6244, allocations: 9.719 kB / 1.057 GB, free: 63.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/0.6245, allocations: 5.906 kB / 1.057 GB, free: 63.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.6249, allocations: 157.9 kB / 1.057 GB, free: 63.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.6249, allocations: 5.844 kB / 1.057 GB, free: 63.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005149/0.6254, allocations: 139.9 kB / 1.057 GB, free: 63.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.173e-05/0.6255, allocations: 40.34 kB / 1.057 GB, free: 63.21 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.0002602/0.6258, allocations: 239.6 kB / 1.058 GB, free: 63.02 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.6259, allocations: 117 kB / 1.058 GB, free: 63.02 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007851/0.6267, allocations: 0.5642 MB / 1.058 GB, free: 62.9 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.6267, allocations: 8.594 kB / 1.058 GB, free: 62.9 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6267, allocations: 4 kB / 1.058 GB, free: 62.9 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6267, allocations: 3.234 kB / 1.058 GB, free: 62.9 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.6289, allocations: 2.052 MB / 1.06 GB, free: 61.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.6289, allocations: 7.234 kB / 1.06 GB, free: 61.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002756/0.6292, allocations: 108.3 kB / 1.06 GB, free: 61.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.6292, allocations: 9.75 kB / 1.06 GB, free: 61.96 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.418e-05/0.6292, allocations: 24.95 kB / 1.061 GB, free: 61.96 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/0.6292, allocations: 16.25 kB / 1.061 GB, free: 61.96 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.6292, allocations: 13.41 kB / 1.061 GB, free: 61.96 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008305/0.6301, allocations: 1.087 MB / 1.062 GB, free: 61.18 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.6303, allocations: 220.2 kB / 1.062 GB, free: 61.13 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.271e-05/0.6304, allocations: 25.17 kB / 1.062 GB, free: 61.13 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.6309, allocations: 64.52 kB / 1.062 GB, free: 61.13 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.6309, allocations: 65.19 kB / 1.062 GB, free: 61.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.631, allocations: 40.98 kB / 1.062 GB, free: 61.12 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004176/0.6314, allocations: 482.2 kB / 1.062 GB, free: 60.98 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6314, allocations: 1.812 kB / 1.062 GB, free: 60.98 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007739/0.6322, allocations: 294.3 kB / 1.063 GB, free: 60.96 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.000363/0.6325, allocations: 222.1 kB / 1.063 GB, free: 60.88 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0006618/0.6332, allocations: 495.9 kB / 1.063 GB, free: 60.73 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.6332, allocations: 3.062 kB / 1.063 GB, free: 60.73 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002831/0.6335, allocations: 297.7 kB / 1.064 GB, free: 60.63 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.6346, allocations: 372.6 kB / 1.064 GB, free: 60.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.6368, allocations: 1.813 MB / 1.066 GB, free: 59.55 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.6369, allocations: 221.2 kB / 1.066 GB, free: 59.47 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005362/0.6375, allocations: 213.1 kB / 1.066 GB, free: 59.46 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.6376, allocations: 62.34 kB / 1.066 GB, free: 59.46 MB / 1.01 GB Notification: Performance of SimCode: time 1.072e-06/0.6376, allocations: 3.781 kB / 1.066 GB, free: 59.46 MB / 1.01 GB Notification: Performance of Templates: time 0.01846/0.6561, allocations: 15.69 MB / 1.082 GB, free: 58.1 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.606232221703976]