Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001351/0.001351, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001408/0.001408, allocations: 199 kB / 22.17 MB, free: 5.211 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.429/1.429, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.801/2.801, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.89 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7874/0.7893, allocations: 168.7 MB / 1.274 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2179/1.007, allocations: 195.1 MB / 1.465 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01157/1.019, allocations: 6.98 MB / 1.471 GB, free: 9.695 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/1.02, allocations: 43.69 kB / 1.471 GB, free: 9.652 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/1.022, allocations: 0.7142 MB / 1.472 GB, free: 8.934 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.006785/1.029, allocations: 2.443 MB / 1.475 GB, free: 6.48 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004112/1.033, allocations: 1.449 MB / 1.476 GB, free: 5.051 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004966/1.038, allocations: 3.002 MB / 1.479 GB, free: 2.039 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/1.039, allocations: 0.7005 MB / 1.48 GB, free: 1.328 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002874/1.042, allocations: 1.159 MB / 1.481 GB, free: 176 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001436/1.044, allocations: 0.8688 MB / 1.482 GB, free: 15.3 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/1.044, allocations: 100 kB / 1.482 GB, free: 15.21 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003997/1.048, allocations: 2.167 MB / 1.484 GB, free: 13.04 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004369/1.048, allocations: 366.8 kB / 1.484 GB, free: 12.68 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0007015/1.049, allocations: 0.5908 MB / 1.485 GB, free: 12.08 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003724/1.053, allocations: 2.398 MB / 1.487 GB, free: 9.676 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/1.053, allocations: 0 / 1.487 GB, free: 9.676 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.253e-06/1.053, allocations: 0 / 1.487 GB, free: 9.676 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.567e-05/1.053, allocations: 0 / 1.487 GB, free: 9.676 MB / 1.186 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.003613/1.056, allocations: 1.673 MB / 1.489 GB, free: 7.941 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/1.056, allocations: 8.031 kB / 1.489 GB, free: 7.934 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003141/1.059, allocations: 0.5455 MB / 1.489 GB, free: 7.387 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002425/1.062, allocations: 1.042 MB / 1.49 GB, free: 6.301 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/1.062, allocations: 57.31 kB / 1.49 GB, free: 6.242 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/1.062, allocations: 64 kB / 1.49 GB, free: 6.18 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/1.065, allocations: 1.109 MB / 1.491 GB, free: 5.043 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/1.065, allocations: 7.875 kB / 1.491 GB, free: 5.035 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/1.065, allocations: 28 kB / 1.491 GB, free: 5.008 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-05/1.065, allocations: 25.31 kB / 1.491 GB, free: 4.984 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00325/1.068, allocations: 1.172 MB / 1.493 GB, free: 3.812 MB / 1.186 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.006258/1.074, allocations: 3.167 MB / 1.496 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/1.076, allocations: 0.6606 MB / 1.496 GB, free: 15.89 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008645/1.077, allocations: 394.2 kB / 1.497 GB, free: 15.51 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/1.078, allocations: 1.025 MB / 1.498 GB, free: 14.26 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/1.079, allocations: 0.5104 MB / 1.498 GB, free: 13.72 MB / 1.201 GB Notification: Performance of pre-optimization done (n=57): time 2.405e-06/1.079, allocations: 0 / 1.498 GB, free: 13.72 MB / 1.201 GB Notification: Performance of matching and sorting (n=57): time 0.003201/1.082, allocations: 1.229 MB / 1.499 GB, free: 12.48 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.252e-05/1.082, allocations: 148.8 kB / 1.5 GB, free: 12.31 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/1.084, allocations: 1.172 MB / 1.501 GB, free: 11.12 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.427e-05/1.084, allocations: 37.7 kB / 1.501 GB, free: 11.08 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004342/1.085, allocations: 445.8 kB / 1.501 GB, free: 10.64 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/1.085, allocations: 206.3 kB / 1.501 GB, free: 10.43 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/1.085, allocations: 142.1 kB / 1.502 GB, free: 10.29 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.085, allocations: 326 kB / 1.502 GB, free: 9.965 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001329/1.087, allocations: 444.9 kB / 1.502 GB, free: 9.531 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/1.088, allocations: 0.5899 MB / 1.503 GB, free: 8.887 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002235/1.091, allocations: 0.9301 MB / 1.504 GB, free: 7.902 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.091, allocations: 3.938 kB / 1.504 GB, free: 7.898 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003426/1.094, allocations: 1.198 MB / 1.505 GB, free: 6.684 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.769e-05/1.094, allocations: 41.69 kB / 1.505 GB, free: 6.637 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/1.094, allocations: 0 / 1.505 GB, free: 6.637 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/1.094, allocations: 8 kB / 1.505 GB, free: 6.629 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009913/1.095, allocations: 192 kB / 1.505 GB, free: 6.441 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/1.095, allocations: 11.88 kB / 1.505 GB, free: 6.43 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/1.097, allocations: 243.1 kB / 1.505 GB, free: 6.191 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/1.097, allocations: 35.98 kB / 1.505 GB, free: 6.156 MB / 1.201 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.0006017/1.097, allocations: 328.8 kB / 1.506 GB, free: 5.82 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/1.098, allocations: 123.2 kB / 1.506 GB, free: 5.699 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/1.1, allocations: 0.9954 MB / 1.507 GB, free: 4.703 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/1.1, allocations: 8.516 kB / 1.507 GB, free: 4.695 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/1.1, allocations: 3.938 kB / 1.507 GB, free: 4.691 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/1.1, allocations: 7.984 kB / 1.507 GB, free: 4.684 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005306/1.105, allocations: 3.162 MB / 1.51 GB, free: 1.367 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/1.105, allocations: 11.98 kB / 1.51 GB, free: 1.355 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006173/1.106, allocations: 124 kB / 1.51 GB, free: 1.234 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.689e-05/1.106, allocations: 12 kB / 1.51 GB, free: 1.223 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/1.106, allocations: 20 kB / 1.51 GB, free: 1.203 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.816e-05/1.106, allocations: 19.92 kB / 1.51 GB, free: 1.184 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/1.106, allocations: 11.94 kB / 1.51 GB, free: 1.172 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/1.108, allocations: 1.35 MB / 1.511 GB, free: 15.7 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006245/1.109, allocations: 336 kB / 1.512 GB, free: 15.35 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/1.109, allocations: 24 kB / 1.512 GB, free: 15.33 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/1.11, allocations: 99.89 kB / 1.512 GB, free: 15.23 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/1.111, allocations: 63.7 kB / 1.512 GB, free: 15.17 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-05/1.111, allocations: 43.97 kB / 1.512 GB, free: 15.12 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001581/1.112, allocations: 0.8443 MB / 1.513 GB, free: 14.27 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.51e-07/1.112, allocations: 4 kB / 1.513 GB, free: 14.27 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00112/1.113, allocations: 299.6 kB / 1.513 GB, free: 13.98 MB / 1.217 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.0008071/1.114, allocations: 349.5 kB / 1.513 GB, free: 13.64 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002556/1.117, allocations: 0.9741 MB / 1.514 GB, free: 12.66 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.117, allocations: 4 kB / 1.514 GB, free: 12.65 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/1.118, allocations: 481.8 kB / 1.515 GB, free: 12.17 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/1.121, allocations: 0.5537 MB / 1.515 GB, free: 11.63 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/1.124, allocations: 2.066 MB / 1.517 GB, free: 9.43 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007538/1.125, allocations: 1.073 MB / 1.518 GB, free: 8.324 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00101/1.126, allocations: 270.9 kB / 1.519 GB, free: 8.059 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/1.126, allocations: 83.41 kB / 1.519 GB, free: 7.977 MB / 1.217 GB Notification: Performance of SimCode: time 8.81e-07/1.126, allocations: 0 / 1.519 GB, free: 7.977 MB / 1.217 GB Notification: Performance of Templates: time 0.03946/1.166, allocations: 22.49 MB / 1.541 GB, free: 1.719 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.45997536368668]