Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001492/0.001492, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001546/0.001546, allocations: 169 kB / 24.28 MB, free: 280 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.9905/0.9905, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.881/1.881, allocations: 377.8 MB / 0.6239 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 0.8115 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.91e-05, allocations: 8.703 kB / 0.8115 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1762/0.1763, allocations: 191.2 MB / 0.9983 GB, free: 1.066 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0101/0.1864, allocations: 7.072 MB / 1.005 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.188, allocations: 67.38 kB / 1.005 GB, free: 9.914 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.1897, allocations: 0.6945 MB / 1.006 GB, free: 9.215 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.006005/0.1957, allocations: 2.468 MB / 1.008 GB, free: 6.734 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.1986, allocations: 1.523 MB / 1.01 GB, free: 5.215 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.003671/0.2022, allocations: 2.993 MB / 1.013 GB, free: 2.211 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009645/0.2032, allocations: 0.7404 MB / 1.013 GB, free: 1.457 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003321/0.2065, allocations: 1.976 MB / 1.015 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009105/0.2074, allocations: 0.74 MB / 1.016 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.2076, allocations: 100 kB / 1.016 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002732/0.2103, allocations: 1.683 MB / 1.018 GB, free: 12.98 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.2106, allocations: 398.7 kB / 1.018 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004119/0.211, allocations: 402.9 kB / 1.019 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.2139, allocations: 1.865 MB / 1.02 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2139, allocations: 0 / 1.02 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2139, allocations: 3.938 kB / 1.02 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.636e-05/0.2139, allocations: 0 / 1.02 GB, free: 10.33 MB / 0.9323 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.002368/0.2163, allocations: 1.678 MB / 1.022 GB, free: 8.602 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.2164, allocations: 11.97 kB / 1.022 GB, free: 8.59 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.2178, allocations: 0.4986 MB / 1.023 GB, free: 8.09 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.2192, allocations: 1.004 MB / 1.024 GB, free: 7.055 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.814e-05/0.2193, allocations: 53.31 kB / 1.024 GB, free: 7.004 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.875e-05/0.2193, allocations: 68 kB / 1.024 GB, free: 6.938 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.2206, allocations: 0.8637 MB / 1.025 GB, free: 6.004 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.2206, allocations: 0 / 1.025 GB, free: 6.004 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.735e-05/0.2207, allocations: 28 kB / 1.025 GB, free: 5.977 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.2207, allocations: 29.25 kB / 1.025 GB, free: 5.949 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007223/0.2215, allocations: 421.2 kB / 1.025 GB, free: 5.531 MB / 0.9323 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.002964/0.2244, allocations: 2.744 MB / 1.028 GB, free: 2.707 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.2254, allocations: 351 kB / 1.028 GB, free: 2.348 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.2257, allocations: 181.7 kB / 1.028 GB, free: 2.164 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003089/0.226, allocations: 132.4 kB / 1.028 GB, free: 2.035 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004713/0.2265, allocations: 453.4 kB / 1.029 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 2.033e-06/0.2265, allocations: 0 / 1.029 GB, free: 1.531 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.001161/0.2276, allocations: 0.6411 MB / 1.029 GB, free: 0.8672 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.2277, allocations: 136.9 kB / 1.029 GB, free: 0.7031 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4138/0.6415, allocations: 0.7884 MB / 1.03 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001903/0.6417, allocations: 38.89 kB / 1.03 GB, free: 234.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.642, allocations: 0.5027 MB / 1.031 GB, free: 234 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.6422, allocations: 199.4 kB / 1.031 GB, free: 234 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.6424, allocations: 150 kB / 1.031 GB, free: 233.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.989e-05/0.6425, allocations: 0.506 MB / 1.032 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.6428, allocations: 125.9 kB / 1.032 GB, free: 233.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004231/0.6432, allocations: 0.6733 MB / 1.032 GB, free: 232.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/0.6438, allocations: 444.2 kB / 1.033 GB, free: 232.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-06/0.6438, allocations: 2.812 kB / 1.033 GB, free: 232.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001045/0.6448, allocations: 0.5876 MB / 1.033 GB, free: 232.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.176e-05/0.6449, allocations: 38.12 kB / 1.033 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.6449, allocations: 5.109 kB / 1.033 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.6449, allocations: 5.156 kB / 1.033 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004892/0.6454, allocations: 164.9 kB / 1.034 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.6454, allocations: 6.688 kB / 1.034 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/0.6459, allocations: 148.3 kB / 1.034 GB, free: 232.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/0.646, allocations: 37.66 kB / 1.034 GB, free: 232.3 MB / 0.9323 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.0002522/0.6463, allocations: 238.3 kB / 1.034 GB, free: 232.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.6464, allocations: 109.9 kB / 1.034 GB, free: 232 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009035/0.6473, allocations: 0.5747 MB / 1.035 GB, free: 231.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.6473, allocations: 10.95 kB / 1.035 GB, free: 231.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.6473, allocations: 2.719 kB / 1.035 GB, free: 231.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/0.6474, allocations: 2.297 kB / 1.035 GB, free: 231.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002298/0.6497, allocations: 2.055 MB / 1.037 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.6497, allocations: 11.64 kB / 1.037 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.65, allocations: 105.9 kB / 1.037 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.65, allocations: 10.22 kB / 1.037 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.65, allocations: 25.92 kB / 1.037 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/0.65, allocations: 12.69 kB / 1.037 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.65, allocations: 13.19 kB / 1.037 GB, free: 230.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009466/0.651, allocations: 1.1 MB / 1.038 GB, free: 229.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002941/0.6513, allocations: 226.8 kB / 1.038 GB, free: 229.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.802e-05/0.6514, allocations: 23.11 kB / 1.038 GB, free: 229.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004399/0.6518, allocations: 65.59 kB / 1.038 GB, free: 229.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.681e-05/0.6519, allocations: 65.31 kB / 1.038 GB, free: 229.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.848e-05/0.652, allocations: 41.33 kB / 1.038 GB, free: 229.3 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0004966/0.6525, allocations: 494.4 kB / 1.039 GB, free: 229.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.6525, allocations: 1.094 kB / 1.039 GB, free: 229.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0008719/0.6533, allocations: 334.3 kB / 1.039 GB, free: 229.1 MB / 0.9323 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.0005139/0.6538, allocations: 336.4 kB / 1.039 GB, free: 229 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007998/0.6546, allocations: 497.4 kB / 1.04 GB, free: 228.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/0.6546, allocations: 1 kB / 1.04 GB, free: 228.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.655, allocations: 298.9 kB / 1.04 GB, free: 228.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.6562, allocations: 416.9 kB / 1.041 GB, free: 228.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.6588, allocations: 1.816 MB / 1.042 GB, free: 227.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.659, allocations: 219.1 kB / 1.043 GB, free: 227.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0006562/0.6597, allocations: 218.3 kB / 1.043 GB, free: 227.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.6598, allocations: 74.28 kB / 1.043 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.513e-06/0.6599, allocations: 0 / 1.043 GB, free: 227.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.02268/0.6825, allocations: 18.12 MB / 1.061 GB, free: 219.8 MB / 0.9323 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 6.153350993990898]