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.000996/0.000996, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001457/0.001457, allocations: 161.4 kB / 24.16 MB, free: 332 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 1.03/1.03, allocations: 177.1 MB / 204.6 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.953/1.953, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.383e-06/1.383e-06, allocations: 0 / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.805e-05, allocations: 3.688 kB / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1442/0.1442, allocations: 152.9 MB / 0.9094 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.007194/0.1514, allocations: 4.947 MB / 0.9142 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.1526, allocations: 59.44 kB / 0.9143 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0008962/0.1535, allocations: 416.8 kB / 0.9147 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.1559, allocations: 1.251 MB / 0.9159 GB, free: 6.629 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.1581, allocations: 1.506 MB / 0.9174 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002967/0.1611, allocations: 2.943 MB / 0.9202 GB, free: 2.176 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.1625, allocations: 0.8249 MB / 0.921 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.1646, allocations: 1.52 MB / 0.9225 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008922/0.1655, allocations: 0.6386 MB / 0.9232 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.1657, allocations: 96 kB / 0.9232 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.1668, allocations: 0.7406 MB / 0.924 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.167, allocations: 390.7 kB / 0.9243 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.1674, allocations: 391 kB / 0.9247 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001525/0.1689, allocations: 1.374 MB / 0.9261 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.1689, allocations: 3.984 kB / 0.9261 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1689, allocations: 0 / 0.9261 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.236e-05/0.1689, allocations: 0 / 0.9261 GB, free: 12.27 MB / 0.8855 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.001805/0.1707, allocations: 1.449 MB / 0.9275 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1708, allocations: 8.031 kB / 0.9275 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.1719, allocations: 476.1 kB / 0.9279 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008411/0.1728, allocations: 0.7043 MB / 0.9286 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.1728, allocations: 57.44 kB / 0.9287 GB, free: 9.527 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.511e-05/0.1729, allocations: 68 kB / 0.9287 GB, free: 9.461 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008887/0.1738, allocations: 0.7962 MB / 0.9295 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1738, allocations: 0 / 0.9295 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/0.1738, allocations: 27.98 kB / 0.9295 GB, free: 8.578 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/0.1739, allocations: 33.31 kB / 0.9296 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004671/0.1743, allocations: 317.5 kB / 0.9299 GB, free: 8.227 MB / 0.8855 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.002475/0.1768, allocations: 1.947 MB / 0.9318 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.1773, allocations: 350.4 kB / 0.9321 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.1775, allocations: 142.8 kB / 0.9323 GB, free: 5.723 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.1776, allocations: 48.47 kB / 0.9323 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003455/0.178, allocations: 418 kB / 0.9327 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 1.613e-06/0.178, allocations: 0 / 0.9327 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.0007126/0.1787, allocations: 490.4 kB / 0.9332 GB, free: 4.707 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001794/0.1788, allocations: 144.8 kB / 0.9333 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/0.1794, allocations: 0.6911 MB / 0.934 GB, free: 3.828 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.418e-05/0.1794, allocations: 37.7 kB / 0.934 GB, free: 3.785 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.1796, allocations: 350.4 kB / 0.9344 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.1797, allocations: 186.3 kB / 0.9345 GB, free: 3.254 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.1799, allocations: 134.1 kB / 0.9347 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/0.18, allocations: 333.9 kB / 0.935 GB, free: 2.785 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.1801, allocations: 97.81 kB / 0.9351 GB, free: 2.684 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.1804, allocations: 0.54 MB / 0.9356 GB, free: 2.02 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.1808, allocations: 375.4 kB / 0.936 GB, free: 1.594 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1808, allocations: 0 / 0.936 GB, free: 1.594 MB / 0.8855 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0004864/0.1812, allocations: 418 kB / 0.9364 GB, free: 1.164 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.1813, allocations: 37.7 kB / 0.9364 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1813, allocations: 4 kB / 0.9364 GB, free: 1.117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1813, allocations: 8 kB / 0.9364 GB, free: 1.109 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006461/0.182, allocations: 168.1 kB / 0.9366 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.182, allocations: 7.938 kB / 0.9366 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/0.1824, allocations: 139.6 kB / 0.9367 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.178e-05/0.1824, allocations: 27.98 kB / 0.9367 GB, free: 0.7734 MB / 0.8855 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.0002036/0.1826, allocations: 186.2 kB / 0.9369 GB, free: 0.5742 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.176e-05/0.1827, allocations: 76.39 kB / 0.937 GB, free: 0.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005307/0.1833, allocations: 464.5 kB / 0.9374 GB, free: 32 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.1833, allocations: 8 kB / 0.9374 GB, free: 24 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1833, allocations: 3.984 kB / 0.9374 GB, free: 20 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1833, allocations: 11.97 kB / 0.9374 GB, free: 8 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.185, allocations: 1.643 MB / 0.939 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.185, allocations: 8.969 kB / 0.9391 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.1853, allocations: 115.8 kB / 0.9392 GB, free: 14.08 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.1853, allocations: 15.98 kB / 0.9392 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.1853, allocations: 20 kB / 0.9392 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.1853, allocations: 15.92 kB / 0.9392 GB, free: 14.03 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.1853, allocations: 11.94 kB / 0.9392 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006805/0.186, allocations: 0.9269 MB / 0.9401 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002424/0.1862, allocations: 159.1 kB / 0.9403 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.159e-05/0.1863, allocations: 27.98 kB / 0.9403 GB, free: 12.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.1867, allocations: 63.95 kB / 0.9404 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/0.1868, allocations: 63.73 kB / 0.9404 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.863e-05/0.1869, allocations: 39.89 kB / 0.9405 GB, free: 12.58 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002615/0.1871, allocations: 320.5 kB / 0.9408 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1871, allocations: 0 / 0.9408 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007072/0.1878, allocations: 303.4 kB / 0.9411 GB, free: 11.98 MB / 0.9011 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.000371/0.1882, allocations: 200 kB / 0.9413 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005686/0.1888, allocations: 427.4 kB / 0.9417 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/0.1888, allocations: 8 kB / 0.9417 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.189, allocations: 275.8 kB / 0.9419 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.1901, allocations: 417.6 kB / 0.9423 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/0.1926, allocations: 1.754 MB / 0.944 GB, free: 8.719 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.1927, allocations: 220.4 kB / 0.9443 GB, free: 8.484 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0005005/0.1932, allocations: 151 kB / 0.9444 GB, free: 8.34 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007184/0.1939, allocations: 343 kB / 0.9447 GB, free: 8.004 MB / 0.9011 GB Notification: Performance of SimCode: time 1.773e-06/0.1939, allocations: 0 / 0.9447 GB, free: 8.004 MB / 0.9011 GB Notification: Performance of Templates: time 0.02118/0.2151, allocations: 17.98 MB / 0.9623 GB, free: 6.395 MB / 0.9167 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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: 5.6945959799923]