Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001275/0.001275, allocations: 81.86 kB / 20.68 MB, free: 3.82 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.001367/0.001367, allocations: 181 kB / 24.09 MB, free: 424 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 0.9281/0.9281, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.757/1.757, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.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_11_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_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7876 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.531e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1238/0.1239, allocations: 150.7 MB / 0.9347 GB, free: 5 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.006856/0.1307, allocations: 4.826 MB / 0.9394 GB, free: 168 kB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009325/0.1316, allocations: 63.38 kB / 0.9395 GB, free: 104 kB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0008211/0.1325, allocations: 408.9 kB / 0.9399 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.1345, allocations: 1.267 MB / 0.9411 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.1365, allocations: 1.518 MB / 0.9426 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.00307/0.1396, allocations: 2.966 MB / 0.9455 GB, free: 9.934 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008531/0.1405, allocations: 0.7365 MB / 0.9462 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001842/0.1423, allocations: 1.539 MB / 0.9477 GB, free: 7.703 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006146/0.1429, allocations: 0.6971 MB / 0.9484 GB, free: 7.004 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.143, allocations: 96 kB / 0.9485 GB, free: 6.91 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008887/0.1439, allocations: 0.7133 MB / 0.9492 GB, free: 6.195 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002296/0.1441, allocations: 386.7 kB / 0.9496 GB, free: 5.816 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002808/0.1444, allocations: 395 kB / 0.9499 GB, free: 5.43 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.1456, allocations: 1.371 MB / 0.9513 GB, free: 4.055 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1456, allocations: 4 kB / 0.9513 GB, free: 4.051 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.542e-06/0.1456, allocations: 0 / 0.9513 GB, free: 4.051 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.1456, allocations: 0 / 0.9513 GB, free: 4.051 MB / 0.9011 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.001753/0.1474, allocations: 1.601 MB / 0.9529 GB, free: 2.398 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.1474, allocations: 12.03 kB / 0.9529 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.1486, allocations: 0.4994 MB / 0.9534 GB, free: 1.887 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008105/0.1494, allocations: 0.9021 MB / 0.9542 GB, free: 0.957 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/0.1494, allocations: 61.44 kB / 0.9543 GB, free: 0.8984 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.479e-05/0.1495, allocations: 68 kB / 0.9544 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009718/0.1505, allocations: 0.809 MB / 0.9551 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1505, allocations: 0 / 0.9551 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.1505, allocations: 24 kB / 0.9552 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/0.1505, allocations: 29.31 kB / 0.9552 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.151, allocations: 347.8 kB / 0.9555 GB, free: 15.55 MB / 0.9167 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.002407/0.1534, allocations: 2.612 MB / 0.9581 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007207/0.1541, allocations: 319 kB / 0.9584 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.1543, allocations: 154.8 kB / 0.9585 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.1544, allocations: 54.69 kB / 0.9586 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/0.1547, allocations: 433.3 kB / 0.959 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=57): time 1.402e-06/0.1547, allocations: 0 / 0.959 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of matching and sorting (n=57): time 0.0007962/0.1555, allocations: 0.5938 MB / 0.9596 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.1556, allocations: 140.8 kB / 0.9597 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005876/0.1561, allocations: 0.7762 MB / 0.9605 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.1562, allocations: 41.7 kB / 0.9605 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002443/0.1564, allocations: 0.5031 MB / 0.961 GB, free: 9.719 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.1565, allocations: 198.3 kB / 0.9612 GB, free: 9.523 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/0.1567, allocations: 155.8 kB / 0.9613 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1568, allocations: 0.5043 MB / 0.9618 GB, free: 8.852 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.157, allocations: 106.9 kB / 0.9619 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.1573, allocations: 0.5826 MB / 0.9625 GB, free: 8.02 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003656/0.1577, allocations: 407.7 kB / 0.9629 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.1577, allocations: 0 / 0.9629 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.000621/0.1583, allocations: 0.5352 MB / 0.9634 GB, free: 6.996 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.1583, allocations: 41.69 kB / 0.9635 GB, free: 6.949 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1583, allocations: 4 kB / 0.9635 GB, free: 6.945 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1583, allocations: 4 kB / 0.9635 GB, free: 6.941 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/0.1587, allocations: 164 kB / 0.9636 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.495e-06/0.1587, allocations: 7.984 kB / 0.9636 GB, free: 6.773 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.1591, allocations: 139.6 kB / 0.9638 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.106e-05/0.1592, allocations: 35.97 kB / 0.9638 GB, free: 6.602 MB / 0.9167 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.0001969/0.1594, allocations: 234.9 kB / 0.964 GB, free: 6.355 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.1595, allocations: 115.8 kB / 0.9641 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000616/0.1601, allocations: 0.5313 MB / 0.9646 GB, free: 5.695 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.1601, allocations: 8 kB / 0.9647 GB, free: 5.688 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.1601, allocations: 7.969 kB / 0.9647 GB, free: 5.68 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1601, allocations: 3.984 kB / 0.9647 GB, free: 5.676 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.1622, allocations: 1.884 MB / 0.9665 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.1622, allocations: 8.906 kB / 0.9665 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.1625, allocations: 115.8 kB / 0.9666 GB, free: 3.496 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-06/0.1625, allocations: 12 kB / 0.9666 GB, free: 3.484 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.1625, allocations: 23.98 kB / 0.9667 GB, free: 3.461 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.1625, allocations: 15.94 kB / 0.9667 GB, free: 3.445 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.1626, allocations: 11.94 kB / 0.9667 GB, free: 3.434 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007677/0.1633, allocations: 1.073 MB / 0.9677 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.1636, allocations: 215 kB / 0.9679 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.908e-05/0.1636, allocations: 20 kB / 0.968 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.164, allocations: 63.95 kB / 0.968 GB, free: 1.895 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.1641, allocations: 63.73 kB / 0.9681 GB, free: 1.832 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.1642, allocations: 39.97 kB / 0.9681 GB, free: 1.793 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002927/0.1645, allocations: 458.7 kB / 0.9686 GB, free: 1.352 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1645, allocations: 0 / 0.9686 GB, free: 1.352 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006105/0.1651, allocations: 299.4 kB / 0.9688 GB, free: 1.059 MB / 0.9167 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.0003009/0.1654, allocations: 218.8 kB / 0.969 GB, free: 0.8359 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005036/0.1659, allocations: 458.2 kB / 0.9695 GB, free: 372 kB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1659, allocations: 0 / 0.9695 GB, free: 372 kB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.1661, allocations: 290.8 kB / 0.9698 GB, free: 60 kB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.1672, allocations: 427.1 kB / 0.9702 GB, free: 15.65 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.1693, allocations: 1.807 MB / 0.9719 GB, free: 13.67 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.1694, allocations: 224.4 kB / 0.9721 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0004053/0.1698, allocations: 148 kB / 0.9723 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006611/0.1705, allocations: 417.8 kB / 0.9727 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of SimCode: time 9.02e-07/0.1705, allocations: 0 / 0.9727 GB, free: 12.88 MB / 0.9323 GB Notification: Performance of Templates: time 0.01881/0.1893, allocations: 18.02 MB / 0.9903 GB, free: 11.23 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 5.399354740045965]