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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001748/0.001748, allocations: 186.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.927/2.927, allocations: 496 MB / 0.7835 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_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.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 68.52 kB / 1.138 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3481, allocations: 173.6 MB / 1.307 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2222/0.5703, allocations: 195.2 MB / 1.498 GB, free: 13.82 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.0113/0.5816, allocations: 6.968 MB / 1.505 GB, free: 6.832 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.5832, allocations: 67.38 kB / 1.505 GB, free: 6.766 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001856/0.585, allocations: 0.7025 MB / 1.505 GB, free: 6.059 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005994/0.591, allocations: 2.486 MB / 1.508 GB, free: 3.562 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003676/0.5947, allocations: 1.502 MB / 1.509 GB, free: 2.078 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004524/0.5992, allocations: 3.04 MB / 1.512 GB, free: 15.03 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.6005, allocations: 0.7011 MB / 1.513 GB, free: 14.32 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00425/0.6047, allocations: 1.624 MB / 1.515 GB, free: 12.7 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.6063, allocations: 0.8452 MB / 1.515 GB, free: 11.86 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.6064, allocations: 99.94 kB / 1.516 GB, free: 11.76 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004129/0.6106, allocations: 2.171 MB / 1.518 GB, free: 9.586 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0004212/0.611, allocations: 378.8 kB / 1.518 GB, free: 9.215 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0007008/0.6117, allocations: 0.5908 MB / 1.519 GB, free: 8.621 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.003826/0.6155, allocations: 2.394 MB / 1.521 GB, free: 6.219 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.6155, allocations: 4 kB / 1.521 GB, free: 6.215 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6155, allocations: 0 / 1.521 GB, free: 6.215 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.6155, allocations: 0 / 1.521 GB, free: 6.215 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.003399/0.6189, allocations: 1.604 MB / 1.522 GB, free: 4.57 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.619, allocations: 8.922 kB / 1.522 GB, free: 4.562 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00303/0.622, allocations: 0.5377 MB / 1.523 GB, free: 4.023 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/0.6248, allocations: 0.9703 MB / 1.524 GB, free: 3.02 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.301e-05/0.6249, allocations: 53.31 kB / 1.524 GB, free: 2.969 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.625, allocations: 67.98 kB / 1.524 GB, free: 2.902 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.6277, allocations: 1.105 MB / 1.525 GB, free: 1.77 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.6277, allocations: 3.938 kB / 1.525 GB, free: 1.766 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.004e-05/0.6278, allocations: 28 kB / 1.525 GB, free: 1.738 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.383e-05/0.6279, allocations: 33.3 kB / 1.525 GB, free: 1.703 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002998/0.6309, allocations: 1.164 MB / 1.526 GB, free: 0.5391 MB / 1.217 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.005912/0.6368, allocations: 3.121 MB / 1.529 GB, free: 13.35 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.6384, allocations: 0.6489 MB / 1.53 GB, free: 12.69 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007506/0.6391, allocations: 394.9 kB / 1.53 GB, free: 12.3 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004682/0.6396, allocations: 132.3 kB / 1.531 GB, free: 12.17 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.6406, allocations: 0.5177 MB / 1.531 GB, free: 11.63 MB / 1.232 GB Notification: Performance of pre-optimization done (n=57): time 2.344e-06/0.6406, allocations: 0 / 1.531 GB, free: 11.63 MB / 1.232 GB Notification: Performance of matching and sorting (n=57): time 0.002943/0.6436, allocations: 1.233 MB / 1.532 GB, free: 10.39 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.902e-05/0.6437, allocations: 140.8 kB / 1.532 GB, free: 10.22 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/0.6455, allocations: 1.172 MB / 1.534 GB, free: 9.031 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.81e-05/0.6456, allocations: 37.7 kB / 1.534 GB, free: 8.988 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003942/0.646, allocations: 449.8 kB / 1.534 GB, free: 8.543 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.6461, allocations: 198.3 kB / 1.534 GB, free: 8.348 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002673/0.6464, allocations: 146.2 kB / 1.534 GB, free: 8.195 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.6465, allocations: 330 kB / 1.535 GB, free: 7.867 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.6477, allocations: 433 kB / 1.535 GB, free: 7.445 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.649, allocations: 0.6057 MB / 1.536 GB, free: 6.789 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001937/0.6509, allocations: 0.9293 MB / 1.537 GB, free: 5.801 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6509, allocations: 0 / 1.537 GB, free: 5.801 MB / 1.232 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002862/0.6538, allocations: 1.197 MB / 1.538 GB, free: 4.594 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.669e-05/0.6538, allocations: 37.7 kB / 1.538 GB, free: 4.551 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.6538, allocations: 4 kB / 1.538 GB, free: 4.547 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.6538, allocations: 4 kB / 1.538 GB, free: 4.543 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008699/0.6547, allocations: 192 kB / 1.538 GB, free: 4.355 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.6547, allocations: 15.86 kB / 1.538 GB, free: 4.34 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.656, allocations: 243.2 kB / 1.538 GB, free: 4.102 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-05/0.6561, allocations: 35.97 kB / 1.538 GB, free: 4.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.0004825/0.6566, allocations: 335.2 kB / 1.539 GB, free: 3.723 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.6568, allocations: 119.2 kB / 1.539 GB, free: 3.605 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.6588, allocations: 1.006 MB / 1.54 GB, free: 2.586 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.6588, allocations: 4 kB / 1.54 GB, free: 2.582 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.365e-05/0.6589, allocations: 7.938 kB / 1.54 GB, free: 2.574 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.6589, allocations: 3.984 kB / 1.54 GB, free: 2.57 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004771/0.6636, allocations: 3.13 MB / 1.543 GB, free: 15.29 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.6636, allocations: 4 kB / 1.543 GB, free: 15.29 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/0.6642, allocations: 124 kB / 1.543 GB, free: 15.17 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-05/0.6642, allocations: 15.94 kB / 1.543 GB, free: 15.15 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.291e-05/0.6643, allocations: 23.98 kB / 1.543 GB, free: 15.13 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.317e-05/0.6643, allocations: 12 kB / 1.543 GB, free: 15.12 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/0.6643, allocations: 11.94 kB / 1.543 GB, free: 15.11 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.6664, allocations: 1.366 MB / 1.544 GB, free: 13.62 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00054/0.667, allocations: 254.9 kB / 1.544 GB, free: 13.37 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.6671, allocations: 23.98 kB / 1.544 GB, free: 13.35 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009906/0.6681, allocations: 107.8 kB / 1.545 GB, free: 13.24 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.6682, allocations: 63.67 kB / 1.545 GB, free: 13.18 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.388e-05/0.6683, allocations: 43.97 kB / 1.545 GB, free: 13.14 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001403/0.6697, allocations: 0.8443 MB / 1.546 GB, free: 12.29 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.6697, allocations: 0 / 1.546 GB, free: 12.29 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0009745/0.6707, allocations: 299.6 kB / 1.546 GB, free: 11.99 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.0006842/0.6713, allocations: 347.3 kB / 1.546 GB, free: 11.66 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002222/0.6736, allocations: 0.9703 MB / 1.547 GB, free: 10.68 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.6736, allocations: 4.062 kB / 1.547 GB, free: 10.68 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0008739/0.6744, allocations: 491 kB / 1.548 GB, free: 10.19 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/0.6768, allocations: 0.5507 MB / 1.548 GB, free: 9.645 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003385/0.6801, allocations: 2.058 MB / 1.55 GB, free: 7.457 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000706/0.6809, allocations: 1.065 MB / 1.551 GB, free: 6.359 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008554/0.6817, allocations: 276 kB / 1.551 GB, free: 6.09 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.6819, allocations: 83.41 kB / 1.551 GB, free: 6.008 MB / 1.248 GB Notification: Performance of SimCode: time 7.92e-07/0.6819, allocations: 0 / 1.551 GB, free: 6.008 MB / 1.248 GB Notification: Performance of Templates: time 0.03768/0.7196, allocations: 22.7 MB / 1.574 GB, free: 15.53 MB / 1.279 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.109597289003432]