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.001332/0.001332, allocations: 78.64 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001561/0.001561, allocations: 159.7 kB / 23.01 MB, free: 4.594 MB / 14.72 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.451/1.451, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] 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.915/2.915, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|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.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002305/0.002305, allocations: 67.89 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9289/0.9312, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2338/1.165, allocations: 172 MB / 1.355 GB, free: 9.812 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01193/1.177, allocations: 6.554 MB / 1.361 GB, free: 3.25 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/1.178, allocations: 67.38 kB / 1.361 GB, free: 3.184 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001824/1.18, allocations: 0.687 MB / 1.362 GB, free: 2.492 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.00611/1.186, allocations: 2.416 MB / 1.364 GB, free: 68 kB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/1.19, allocations: 1.453 MB / 1.365 GB, free: 14.63 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004165/1.194, allocations: 3.006 MB / 1.368 GB, free: 11.62 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/1.195, allocations: 0.705 MB / 1.369 GB, free: 10.9 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003924/1.199, allocations: 1.647 MB / 1.371 GB, free: 9.254 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/1.2, allocations: 0.7988 MB / 1.371 GB, free: 8.457 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0002001/1.201, allocations: 96 kB / 1.372 GB, free: 8.363 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003416/1.204, allocations: 1.66 MB / 1.373 GB, free: 6.699 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005071/1.204, allocations: 378.6 kB / 1.374 GB, free: 6.328 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006108/1.205, allocations: 477.8 kB / 1.374 GB, free: 5.859 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003521/1.209, allocations: 2.344 MB / 1.376 GB, free: 3.508 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.209, allocations: 0 / 1.376 GB, free: 3.508 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.533e-06/1.209, allocations: 7.938 kB / 1.376 GB, free: 3.5 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.047e-05/1.209, allocations: 0 / 1.376 GB, free: 3.5 MB / 1.217 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.003723/1.212, allocations: 1.6 MB / 1.378 GB, free: 1.859 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/1.212, allocations: 12.03 kB / 1.378 GB, free: 1.848 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003136/1.216, allocations: 0.5377 MB / 1.378 GB, free: 1.309 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/1.218, allocations: 0.9694 MB / 1.379 GB, free: 316 kB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.241e-05/1.218, allocations: 53.31 kB / 1.379 GB, free: 264 kB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/1.218, allocations: 68 kB / 1.379 GB, free: 196 kB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/1.221, allocations: 1.242 MB / 1.381 GB, free: 14.89 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/1.221, allocations: 7.922 kB / 1.381 GB, free: 14.88 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.539e-05/1.221, allocations: 24 kB / 1.381 GB, free: 14.86 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/1.221, allocations: 29.31 kB / 1.381 GB, free: 14.83 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003332/1.224, allocations: 1.193 MB / 1.382 GB, free: 13.63 MB / 1.232 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.005889/1.23, allocations: 2.706 MB / 1.385 GB, free: 10.87 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/1.232, allocations: 0.6742 MB / 1.385 GB, free: 10.18 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008584/1.233, allocations: 426.5 kB / 1.386 GB, free: 9.762 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005081/1.234, allocations: 132.4 kB / 1.386 GB, free: 9.633 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/1.235, allocations: 0.6437 MB / 1.386 GB, free: 8.93 MB / 1.232 GB Notification: Performance of pre-optimization done (n=57): time 2.474e-06/1.235, allocations: 0 / 1.386 GB, free: 8.93 MB / 1.232 GB Notification: Performance of matching and sorting (n=57): time 0.003261/1.238, allocations: 1.261 MB / 1.388 GB, free: 7.648 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.238, allocations: 148.9 kB / 1.388 GB, free: 7.473 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/1.24, allocations: 0.8839 MB / 1.389 GB, free: 6.578 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.874e-05/1.24, allocations: 37.7 kB / 1.389 GB, free: 6.535 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004262/1.24, allocations: 456.6 kB / 1.389 GB, free: 6.082 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/1.24, allocations: 202.3 kB / 1.389 GB, free: 5.883 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/1.241, allocations: 154.2 kB / 1.389 GB, free: 5.723 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.241, allocations: 333.9 kB / 1.39 GB, free: 5.391 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001311/1.242, allocations: 470.7 kB / 1.39 GB, free: 4.926 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/1.244, allocations: 0.9784 MB / 1.391 GB, free: 3.801 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002266/1.246, allocations: 0.9377 MB / 1.392 GB, free: 2.805 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/1.246, allocations: 4 kB / 1.392 GB, free: 2.801 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003226/1.249, allocations: 1.214 MB / 1.393 GB, free: 1.57 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.47e-05/1.25, allocations: 45.91 kB / 1.393 GB, free: 1.52 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/1.25, allocations: 8 kB / 1.393 GB, free: 1.512 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/1.25, allocations: 8 kB / 1.393 GB, free: 1.504 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000978/1.251, allocations: 183.7 kB / 1.393 GB, free: 1.324 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/1.251, allocations: 8 kB / 1.393 GB, free: 1.316 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/1.252, allocations: 219.3 kB / 1.394 GB, free: 1.102 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.759e-05/1.252, allocations: 35.98 kB / 1.394 GB, free: 1.066 MB / 1.232 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.0005126/1.253, allocations: 331.8 kB / 1.394 GB, free: 0.7266 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/1.253, allocations: 95.39 kB / 1.394 GB, free: 0.6328 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/1.255, allocations: 1.014 MB / 1.395 GB, free: 15.61 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/1.255, allocations: 8 kB / 1.395 GB, free: 15.6 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.255, allocations: 4 kB / 1.395 GB, free: 15.6 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/1.255, allocations: 11.92 kB / 1.395 GB, free: 15.59 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005125/1.26, allocations: 2.934 MB / 1.398 GB, free: 12.51 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/1.26, allocations: 8 kB / 1.398 GB, free: 12.5 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006095/1.261, allocations: 115.8 kB / 1.398 GB, free: 12.39 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/1.261, allocations: 8 kB / 1.398 GB, free: 12.38 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.996e-05/1.261, allocations: 28.11 kB / 1.398 GB, free: 12.35 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-05/1.261, allocations: 19.92 kB / 1.398 GB, free: 12.33 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/1.261, allocations: 8 kB / 1.398 GB, free: 12.32 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/1.263, allocations: 1.371 MB / 1.4 GB, free: 10.83 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004841/1.264, allocations: 227.1 kB / 1.4 GB, free: 10.61 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/1.264, allocations: 35.92 kB / 1.4 GB, free: 10.57 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.265, allocations: 95.91 kB / 1.4 GB, free: 10.48 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/1.265, allocations: 67.67 kB / 1.4 GB, free: 10.41 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.754e-05/1.265, allocations: 39.97 kB / 1.4 GB, free: 10.37 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001234/1.267, allocations: 0.6395 MB / 1.401 GB, free: 9.734 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/1.267, allocations: 0 / 1.401 GB, free: 9.734 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001137/1.268, allocations: 323.4 kB / 1.401 GB, free: 9.418 MB / 1.248 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.0006377/1.268, allocations: 323.4 kB / 1.401 GB, free: 9.098 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.00255/1.271, allocations: 1.036 MB / 1.402 GB, free: 8.035 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.271, allocations: 4 kB / 1.402 GB, free: 8.031 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/1.272, allocations: 0.5064 MB / 1.403 GB, free: 7.508 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/1.274, allocations: 388.6 kB / 1.403 GB, free: 7.141 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/1.278, allocations: 2.048 MB / 1.405 GB, free: 4.957 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005971/1.278, allocations: 477.6 kB / 1.406 GB, free: 4.453 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008474/1.279, allocations: 237.2 kB / 1.406 GB, free: 4.223 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/1.279, allocations: 76.41 kB / 1.406 GB, free: 4.148 MB / 1.248 GB Notification: Performance of SimCode: time 8.81e-07/1.279, allocations: 0 / 1.406 GB, free: 4.148 MB / 1.248 GB Notification: Performance of Templates: time 0.03328/1.313, allocations: 17.97 MB / 1.423 GB, free: 2.488 MB / 1.264 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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.818077128962614]