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.001433/0.001433, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001487/0.001487, allocations: 177 kB / 23.49 MB, free: 1.055 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.9371/0.9371, allocations: 177.1 MB / 203.8 MB, free: 5.293 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.6736 GB, free: 3.988 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.793e-06/1.793e-06, allocations: 0 / 0.8782 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/2.031e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5819/0.5819, allocations: 191.2 MB / 1.065 GB, free: 47.58 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.00739/0.5893, allocations: 7.012 MB / 1.072 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.5905, allocations: 62.66 kB / 1.072 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.5922, allocations: 0.6986 MB / 1.072 GB, free: 47.45 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004899/0.5971, allocations: 2.451 MB / 1.075 GB, free: 47.36 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.5997, allocations: 1.489 MB / 1.076 GB, free: 47.34 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003473/0.6032, allocations: 2.912 MB / 1.079 GB, free: 47.23 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.6043, allocations: 0.6885 MB / 1.08 GB, free: 47.18 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.6076, allocations: 1.934 MB / 1.082 GB, free: 46.98 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.6086, allocations: 0.7413 MB / 1.082 GB, free: 46.89 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.6088, allocations: 100.6 kB / 1.083 GB, free: 46.89 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002716/0.6115, allocations: 1.678 MB / 1.084 GB, free: 46.74 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.6119, allocations: 395 kB / 1.085 GB, free: 46.68 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005143/0.6124, allocations: 396.7 kB / 1.085 GB, free: 46.63 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003411/0.6158, allocations: 1.865 MB / 1.087 GB, free: 46.43 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6158, allocations: 0 / 1.087 GB, free: 46.43 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6158, allocations: 0 / 1.087 GB, free: 46.43 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.988e-05/0.6158, allocations: 0.9375 kB / 1.087 GB, free: 46.43 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.002073/0.6179, allocations: 1.648 MB / 1.088 GB, free: 45.52 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.618, allocations: 8.844 kB / 1.088 GB, free: 45.52 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/0.6194, allocations: 0.5101 MB / 1.089 GB, free: 45.43 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.6207, allocations: 0.9608 MB / 1.09 GB, free: 45.16 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.881e-05/0.6208, allocations: 59.19 kB / 1.09 GB, free: 45.16 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.739e-05/0.6208, allocations: 70.47 kB / 1.09 GB, free: 45.16 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.622, allocations: 0.8546 MB / 1.091 GB, free: 44.86 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.622, allocations: 5.812 kB / 1.091 GB, free: 44.86 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.929e-05/0.622, allocations: 29.56 kB / 1.091 GB, free: 44.85 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.6221, allocations: 28.41 kB / 1.091 GB, free: 44.85 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007094/0.6228, allocations: 421.3 kB / 1.091 GB, free: 44.81 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.002852/0.6256, allocations: 2.729 MB / 1.094 GB, free: 43.64 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000707/0.6263, allocations: 349.3 kB / 1.094 GB, free: 43.58 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.6266, allocations: 171.4 kB / 1.094 GB, free: 43.54 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003383/0.6269, allocations: 137.7 kB / 1.095 GB, free: 43.54 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005076/0.6274, allocations: 451.3 kB / 1.095 GB, free: 43.25 MB / 1.01 GB Notification: Performance of pre-optimization done (n=57): time 3.928e-06/0.6274, allocations: 3.984 kB / 1.095 GB, free: 43.25 MB / 1.01 GB Notification: Performance of matching and sorting (n=57): time 0.001329/0.6287, allocations: 0.6369 MB / 1.096 GB, free: 43.07 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.6288, allocations: 139.7 kB / 1.096 GB, free: 42.91 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008487/0.6296, allocations: 0.783 MB / 1.096 GB, free: 42.71 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.6297, allocations: 37.83 kB / 1.097 GB, free: 42.68 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.6299, allocations: 0.4932 MB / 1.097 GB, free: 42.43 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.6301, allocations: 200.1 kB / 1.097 GB, free: 42.31 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.6303, allocations: 150.8 kB / 1.097 GB, free: 42.28 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 6.76e-05/0.6303, allocations: 0.5074 MB / 1.098 GB, free: 41.8 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.6306, allocations: 128.7 kB / 1.098 GB, free: 41.77 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/0.631, allocations: 0.6684 MB / 1.099 GB, free: 41.1 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005211/0.6315, allocations: 448 kB / 1.099 GB, free: 40.86 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6315, allocations: 2.125 kB / 1.099 GB, free: 40.86 MB / 1.01 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009539/0.6324, allocations: 0.5773 MB / 1.1 GB, free: 40.71 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.6325, allocations: 41.95 kB / 1.1 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.6325, allocations: 7.125 kB / 1.1 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.135e-05/0.6326, allocations: 5.75 kB / 1.1 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/0.6332, allocations: 156.7 kB / 1.1 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.6332, allocations: 5.438 kB / 1.1 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000781/0.634, allocations: 139.5 kB / 1.1 GB, free: 40.66 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-05/0.634, allocations: 35.83 kB / 1.1 GB, free: 40.66 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.0003065/0.6343, allocations: 239.5 kB / 1.1 GB, free: 40.46 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.6345, allocations: 110.6 kB / 1.1 GB, free: 40.41 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000922/0.6354, allocations: 0.5767 MB / 1.101 GB, free: 40.29 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.6355, allocations: 6.531 kB / 1.101 GB, free: 40.29 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6355, allocations: 1.969 kB / 1.101 GB, free: 40.29 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.6355, allocations: 4.562 kB / 1.101 GB, free: 40.29 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.6377, allocations: 2.052 MB / 1.103 GB, free: 39.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.6377, allocations: 7.922 kB / 1.103 GB, free: 39.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.638, allocations: 105 kB / 1.103 GB, free: 39.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-05/0.638, allocations: 17.59 kB / 1.103 GB, free: 39.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.638, allocations: 24.14 kB / 1.103 GB, free: 39.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.638, allocations: 12.84 kB / 1.103 GB, free: 39.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/0.6381, allocations: 11.81 kB / 1.103 GB, free: 39.3 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009154/0.639, allocations: 1.085 MB / 1.104 GB, free: 38.51 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002787/0.6392, allocations: 233.3 kB / 1.104 GB, free: 38.44 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-05/0.6393, allocations: 21.84 kB / 1.104 GB, free: 38.44 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.6398, allocations: 65.92 kB / 1.104 GB, free: 38.44 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.6399, allocations: 59.36 kB / 1.104 GB, free: 38.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.064e-05/0.6399, allocations: 41.7 kB / 1.105 GB, free: 38.43 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.000481/0.6404, allocations: 484.5 kB / 1.105 GB, free: 38.3 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6404, allocations: 1.031 kB / 1.105 GB, free: 38.3 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008861/0.6413, allocations: 329.3 kB / 1.105 GB, free: 38.25 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.0004866/0.6418, allocations: 345.4 kB / 1.106 GB, free: 38.13 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.000742/0.6425, allocations: 495 kB / 1.106 GB, free: 37.98 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6425, allocations: 2.062 kB / 1.106 GB, free: 37.98 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003245/0.6429, allocations: 299 kB / 1.106 GB, free: 37.88 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.644, allocations: 365.4 kB / 1.107 GB, free: 37.85 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.6462, allocations: 1.806 MB / 1.109 GB, free: 36.77 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.6464, allocations: 220.8 kB / 1.109 GB, free: 36.7 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005535/0.6469, allocations: 211 kB / 1.109 GB, free: 36.68 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.6471, allocations: 70.16 kB / 1.109 GB, free: 36.68 MB / 1.01 GB Notification: Performance of SimCode: time 1.001e-06/0.6471, allocations: 0 / 1.109 GB, free: 36.68 MB / 1.01 GB Notification: Performance of Templates: time 0.02605/0.6731, allocations: 17.35 MB / 1.126 GB, free: 34.66 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.3500139601528645]