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.001956/0.001956, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002399/0.002399, allocations: 161.3 kB / 23.55 MB, free: 0.8594 MB / 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.485/1.485, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.905/2.905, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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 1.903e-06/1.903e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.398e-05/3.589e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2632/0.2633, allocations: 171.7 MB / 0.9785 GB, free: 5.812 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01386/0.2771, allocations: 6.584 MB / 0.9849 GB, free: 15.21 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.2787, allocations: 63.38 kB / 0.985 GB, free: 15.15 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.002329/0.281, allocations: 0.6945 MB / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.007474/0.2885, allocations: 2.468 MB / 0.9881 GB, free: 11.97 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004307/0.2928, allocations: 1.534 MB / 0.9896 GB, free: 10.44 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.005775/0.2986, allocations: 2.993 MB / 0.9925 GB, free: 7.438 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001968/0.3005, allocations: 0.7209 MB / 0.9932 GB, free: 6.703 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006306/0.3069, allocations: 1.974 MB / 0.9951 GB, free: 4.742 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002004/0.3089, allocations: 0.7279 MB / 0.9958 GB, free: 4.027 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003913/0.3092, allocations: 104 kB / 0.9959 GB, free: 3.926 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004288/0.3135, allocations: 1.683 MB / 0.9976 GB, free: 2.238 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0007246/0.3143, allocations: 394.6 kB / 0.998 GB, free: 1.852 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.3153, allocations: 395 kB / 0.9983 GB, free: 1.465 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.007228/0.3225, allocations: 2.45 MB / 1.001 GB, free: 15.01 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.3225, allocations: 4 kB / 1.001 GB, free: 15 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3225, allocations: 0 / 1.001 GB, free: 15 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.098e-05/0.3226, allocations: 4 kB / 1.001 GB, free: 15 MB / 0.9636 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.004953/0.3275, allocations: 1.582 MB / 1.002 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.3276, allocations: 8.031 kB / 1.002 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00363/0.3312, allocations: 0.6234 MB / 1.003 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003254/0.3345, allocations: 1.041 MB / 1.004 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.3346, allocations: 61.19 kB / 1.004 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002532/0.3348, allocations: 68 kB / 1.004 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003304/0.3381, allocations: 1.234 MB / 1.005 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.3381, allocations: 7.938 kB / 1.005 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.3383, allocations: 28 kB / 1.005 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.487e-05/0.3383, allocations: 33.25 kB / 1.005 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003645/0.342, allocations: 1.182 MB / 1.006 GB, free: 8.996 MB / 0.9636 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.007353/0.3493, allocations: 2.737 MB / 1.009 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/0.3513, allocations: 0.6742 MB / 1.01 GB, free: 5.512 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009536/0.3523, allocations: 427.8 kB / 1.01 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005558/0.3528, allocations: 128.4 kB / 1.01 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.3541, allocations: 0.6398 MB / 1.011 GB, free: 4.262 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=57): time 2.515e-06/0.3541, allocations: 8 kB / 1.011 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of matching and sorting (n=57): time 0.003647/0.3578, allocations: 1.289 MB / 1.012 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.3579, allocations: 144.9 kB / 1.012 GB, free: 2.77 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.36, allocations: 0.8878 MB / 1.013 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.3601, allocations: 33.7 kB / 1.013 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005535/0.3606, allocations: 460.5 kB / 1.014 GB, free: 1.379 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.3609, allocations: 198.3 kB / 1.014 GB, free: 1.184 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003551/0.3612, allocations: 142.2 kB / 1.014 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0004604/0.3617, allocations: 333.9 kB / 1.014 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.3631, allocations: 474.7 kB / 1.015 GB, free: 240 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/0.365, allocations: 0.9863 MB / 1.016 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/0.3675, allocations: 0.9334 MB / 1.017 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.3675, allocations: 4 kB / 1.017 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003808/0.3713, allocations: 1.242 MB / 1.018 GB, free: 12.86 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.663e-05/0.3713, allocations: 37.69 kB / 1.018 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.3714, allocations: 4 kB / 1.018 GB, free: 12.81 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.31e-05/0.3714, allocations: 8 kB / 1.018 GB, free: 12.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.3724, allocations: 192 kB / 1.018 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.3724, allocations: 7.984 kB / 1.018 GB, free: 12.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.374, allocations: 223.3 kB / 1.018 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.3742, allocations: 35.98 kB / 1.018 GB, free: 12.36 MB / 0.9792 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.0006818/0.3748, allocations: 330.8 kB / 1.019 GB, free: 12.02 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003778/0.3752, allocations: 111.4 kB / 1.019 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.3778, allocations: 1.022 MB / 1.02 GB, free: 10.88 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.3778, allocations: 4 kB / 1.02 GB, free: 10.87 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.3778, allocations: 4 kB / 1.02 GB, free: 10.87 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.3778, allocations: 3.984 kB / 1.02 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006476/0.3843, allocations: 2.926 MB / 1.023 GB, free: 7.789 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.629e-05/0.3843, allocations: 8 kB / 1.023 GB, free: 7.781 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006725/0.385, allocations: 128.3 kB / 1.023 GB, free: 7.656 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.876e-05/0.385, allocations: 8 kB / 1.023 GB, free: 7.648 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-05/0.3851, allocations: 27.94 kB / 1.023 GB, free: 7.621 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.976e-05/0.3851, allocations: 19.92 kB / 1.023 GB, free: 7.602 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.237e-05/0.3851, allocations: 11.94 kB / 1.023 GB, free: 7.59 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/0.388, allocations: 1.368 MB / 1.024 GB, free: 6.098 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006679/0.3887, allocations: 231.1 kB / 1.024 GB, free: 5.871 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.3889, allocations: 23.94 kB / 1.024 GB, free: 5.848 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.3902, allocations: 107.9 kB / 1.025 GB, free: 5.742 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001535/0.3903, allocations: 51.81 kB / 1.025 GB, free: 5.691 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.3904, allocations: 39.97 kB / 1.025 GB, free: 5.652 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001566/0.392, allocations: 0.6434 MB / 1.025 GB, free: 5.016 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8e-08/0.392, allocations: 0 / 1.025 GB, free: 5.016 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001448/0.3934, allocations: 331.3 kB / 1.026 GB, free: 4.691 MB / 0.9792 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.0008626/0.3943, allocations: 338.1 kB / 1.026 GB, free: 4.352 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002866/0.3972, allocations: 1.044 MB / 1.027 GB, free: 3.281 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.3972, allocations: 4 kB / 1.027 GB, free: 3.277 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.3983, allocations: 0.5123 MB / 1.027 GB, free: 2.75 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.4008, allocations: 411.1 kB / 1.028 GB, free: 2.355 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005122/0.4059, allocations: 2.048 MB / 1.03 GB, free: 176 kB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007915/0.4067, allocations: 481.7 kB / 1.03 GB, free: 15.67 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001098/0.4078, allocations: 236.9 kB / 1.03 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003399/0.4082, allocations: 72.47 kB / 1.031 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of SimCode: time 1.713e-06/0.4082, allocations: 0 / 1.031 GB, free: 15.37 MB / 0.9948 GB Notification: Performance of Templates: time 0.3887/0.7968, allocations: 18.07 MB / 1.048 GB, free: 275.3 MB / 0.9948 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.293205596972257]