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.001379/0.001379, 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.001677/0.001677, allocations: 193.3 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.518/1.518, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.846/2.846, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] 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.002056/0.002056, allocations: 75.88 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8707/0.8728, allocations: 168.7 MB / 1.274 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2553/1.128, allocations: 195.1 MB / 1.465 GB, free: 0.6094 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01333/1.141, allocations: 6.975 MB / 1.471 GB, free: 9.621 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002373/1.144, allocations: 51.69 kB / 1.471 GB, free: 9.57 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002465/1.146, allocations: 0.7025 MB / 1.472 GB, free: 8.863 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.008022/1.154, allocations: 2.455 MB / 1.475 GB, free: 6.398 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004147/1.158, allocations: 1.441 MB / 1.476 GB, free: 4.973 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005375/1.164, allocations: 3.007 MB / 1.479 GB, free: 1.957 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/1.165, allocations: 0.7083 MB / 1.48 GB, free: 1.238 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00358/1.169, allocations: 1.158 MB / 1.481 GB, free: 84 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/1.171, allocations: 0.854 MB / 1.482 GB, free: 15.23 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004449/1.172, allocations: 103.9 kB / 1.482 GB, free: 15.13 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005361/1.177, allocations: 2.163 MB / 1.484 GB, free: 12.96 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0008219/1.178, allocations: 378.7 kB / 1.484 GB, free: 12.59 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001501/1.179, allocations: 0.5869 MB / 1.485 GB, free: 12 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006398/1.186, allocations: 2.402 MB / 1.487 GB, free: 9.59 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/1.186, allocations: 0 / 1.487 GB, free: 9.59 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.563e-06/1.186, allocations: 0 / 1.487 GB, free: 9.59 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.884e-05/1.186, allocations: 0 / 1.487 GB, free: 9.59 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.006174/1.192, allocations: 1.673 MB / 1.489 GB, free: 7.855 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.192, allocations: 8.031 kB / 1.489 GB, free: 7.848 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/1.195, allocations: 0.5377 MB / 1.489 GB, free: 7.309 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/1.199, allocations: 1.054 MB / 1.49 GB, free: 6.211 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-05/1.199, allocations: 53.31 kB / 1.49 GB, free: 6.156 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002447/1.199, allocations: 75.98 kB / 1.49 GB, free: 6.082 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002941/1.202, allocations: 1.093 MB / 1.491 GB, free: 4.961 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/1.202, allocations: 7.875 kB / 1.491 GB, free: 4.953 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/1.202, allocations: 28 kB / 1.491 GB, free: 4.926 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/1.202, allocations: 37.28 kB / 1.491 GB, free: 4.891 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00337/1.206, allocations: 1.161 MB / 1.493 GB, free: 3.73 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.007443/1.213, allocations: 3.175 MB / 1.496 GB, free: 484 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/1.215, allocations: 0.6606 MB / 1.496 GB, free: 15.8 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008971/1.216, allocations: 386.2 kB / 1.497 GB, free: 15.43 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/1.217, allocations: 1.025 MB / 1.498 GB, free: 14.18 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/1.218, allocations: 0.5182 MB / 1.498 GB, free: 13.63 MB / 1.201 GB Notification: Performance of pre-optimization done (n=57): time 2.655e-06/1.218, allocations: 0 / 1.498 GB, free: 13.63 MB / 1.201 GB Notification: Performance of matching and sorting (n=57): time 0.003452/1.222, allocations: 1.225 MB / 1.499 GB, free: 12.4 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.222, allocations: 152.8 kB / 1.5 GB, free: 12.22 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/1.224, allocations: 1.169 MB / 1.501 GB, free: 11.04 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/1.224, allocations: 41.7 kB / 1.501 GB, free: 10.99 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000491/1.225, allocations: 441.8 kB / 1.501 GB, free: 10.55 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/1.225, allocations: 202.3 kB / 1.501 GB, free: 10.35 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003838/1.225, allocations: 146.1 kB / 1.502 GB, free: 10.2 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002052/1.226, allocations: 326 kB / 1.502 GB, free: 9.879 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/1.227, allocations: 440.9 kB / 1.502 GB, free: 9.449 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/1.229, allocations: 0.5938 MB / 1.503 GB, free: 8.801 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/1.231, allocations: 0.9223 MB / 1.504 GB, free: 7.824 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/1.231, allocations: 4 kB / 1.504 GB, free: 7.82 MB / 1.201 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003609/1.235, allocations: 1.202 MB / 1.505 GB, free: 6.602 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/1.235, allocations: 37.7 kB / 1.505 GB, free: 6.559 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.235, allocations: 7.984 kB / 1.505 GB, free: 6.551 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/1.235, allocations: 4 kB / 1.505 GB, free: 6.547 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/1.236, allocations: 192 kB / 1.505 GB, free: 6.359 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/1.236, allocations: 15.86 kB / 1.505 GB, free: 6.344 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/1.238, allocations: 239.2 kB / 1.505 GB, free: 6.109 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/1.238, allocations: 39.97 kB / 1.505 GB, free: 6.07 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.0006838/1.238, allocations: 329.3 kB / 1.506 GB, free: 5.734 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003715/1.239, allocations: 119.2 kB / 1.506 GB, free: 5.617 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002418/1.241, allocations: 1.004 MB / 1.507 GB, free: 4.613 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/1.241, allocations: 11.98 kB / 1.507 GB, free: 4.602 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/1.241, allocations: 3.938 kB / 1.507 GB, free: 4.598 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.241, allocations: 0 / 1.507 GB, free: 4.598 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005784/1.247, allocations: 3.166 MB / 1.51 GB, free: 1.277 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-05/1.247, allocations: 8 kB / 1.51 GB, free: 1.27 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006635/1.248, allocations: 124 kB / 1.51 GB, free: 1.148 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.257e-05/1.248, allocations: 8 kB / 1.51 GB, free: 1.141 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.952e-05/1.248, allocations: 27.98 kB / 1.51 GB, free: 1.113 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.11e-05/1.248, allocations: 11.94 kB / 1.51 GB, free: 1.102 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/1.248, allocations: 11.94 kB / 1.51 GB, free: 1.09 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003088/1.251, allocations: 1.358 MB / 1.511 GB, free: 15.61 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/1.252, allocations: 328.1 kB / 1.512 GB, free: 15.27 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005229/1.253, allocations: 23.98 kB / 1.512 GB, free: 15.24 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/1.254, allocations: 99.91 kB / 1.512 GB, free: 15.14 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.254, allocations: 63.56 kB / 1.512 GB, free: 15.09 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/1.255, allocations: 35.98 kB / 1.512 GB, free: 15.05 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002294/1.257, allocations: 0.8482 MB / 1.513 GB, free: 14.2 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.41e-07/1.257, allocations: 0 / 1.513 GB, free: 14.2 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001931/1.259, allocations: 307.6 kB / 1.513 GB, free: 13.89 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.001294/1.26, allocations: 348.2 kB / 1.513 GB, free: 13.56 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.003132/1.263, allocations: 0.9824 MB / 1.514 GB, free: 12.57 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.263, allocations: 3.938 kB / 1.514 GB, free: 12.56 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001102/1.264, allocations: 483.3 kB / 1.515 GB, free: 12.08 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/1.268, allocations: 0.5433 MB / 1.515 GB, free: 11.54 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/1.273, allocations: 2.065 MB / 1.517 GB, free: 9.344 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009964/1.274, allocations: 1.069 MB / 1.518 GB, free: 8.242 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001281/1.275, allocations: 278.4 kB / 1.519 GB, free: 7.973 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/1.275, allocations: 79.41 kB / 1.519 GB, free: 7.895 MB / 1.217 GB Notification: Performance of SimCode: time 1.032e-06/1.275, allocations: 0 / 1.519 GB, free: 7.895 MB / 1.217 GB Notification: Performance of Templates: time 0.0424/1.318, allocations: 22.5 MB / 1.541 GB, free: 1.625 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 cvode -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: 10.05081670312211]