Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,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_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 105.1 kB / 16.27 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001714, allocations: 191.8 kB / 17.2 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.476/2.476, allocations: 437 MB / 0.711 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 71.52 kB / 0.8699 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.279, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.7284/1.007, allocations: 194 MB / 1.207 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01231/1.02, allocations: 6.929 MB / 1.214 GB, free: 13.04 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/1.022, allocations: 47.19 kB / 1.214 GB, free: 13.02 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002213/1.024, allocations: 0.6859 MB / 1.215 GB, free: 12.43 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00702/1.031, allocations: 2.331 MB / 1.217 GB, free: 10.65 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003909/1.035, allocations: 1.431 MB / 1.219 GB, free: 9.59 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004699/1.04, allocations: 2.977 MB / 1.221 GB, free: 7.859 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001653/1.042, allocations: 0.8929 MB / 1.222 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003095/1.045, allocations: 1.132 MB / 1.223 GB, free: 6.641 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/1.047, allocations: 0.7923 MB / 1.224 GB, free: 6.164 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0003893/1.047, allocations: 100.8 kB / 1.224 GB, free: 6.164 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004443/1.051, allocations: 2.063 MB / 1.226 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0006081/1.052, allocations: 366.9 kB / 1.227 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001212/1.053, allocations: 0.5869 MB / 1.227 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004495/1.058, allocations: 2.365 MB / 1.23 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/1.058, allocations: 3.984 kB / 1.23 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.713e-06/1.058, allocations: 0 / 1.23 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.202e-05/1.058, allocations: 0 / 1.23 GB, free: 0.9023 MB / 0.92 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.00433/1.062, allocations: 1.618 MB / 1.231 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.062, allocations: 8.922 kB / 1.231 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003205/1.066, allocations: 0.541 MB / 1.232 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002565/1.068, allocations: 0.9867 MB / 1.233 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001202/1.069, allocations: 277 kB / 1.233 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/1.07, allocations: 68 kB / 1.233 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002833/1.072, allocations: 1.128 MB / 1.234 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/1.072, allocations: 7.922 kB / 1.234 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/1.073, allocations: 28 kB / 1.234 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.215e-05/1.073, allocations: 29.31 kB / 1.234 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003432/1.076, allocations: 1.203 MB / 1.235 GB, free: 10.88 MB / 0.9356 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.006675/1.083, allocations: 3.213 MB / 1.238 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/1.085, allocations: 0.6823 MB / 1.239 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008217/1.085, allocations: 430.7 kB / 1.24 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009218/1.086, allocations: 1.021 MB / 1.241 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001063/1.087, allocations: 0.5143 MB / 1.241 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=57): time 3.596e-06/1.087, allocations: 3.938 kB / 1.241 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57): time 0.003258/1.091, allocations: 1.221 MB / 1.242 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/1.091, allocations: 140.8 kB / 1.242 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/1.093, allocations: 1.196 MB / 1.244 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/1.093, allocations: 37.7 kB / 1.244 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004451/1.094, allocations: 437.4 kB / 1.244 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/1.094, allocations: 193.2 kB / 1.244 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000332/1.094, allocations: 150.1 kB / 1.244 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001159/1.094, allocations: 333.9 kB / 1.245 GB, free: 0.9375 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/1.096, allocations: 452.9 kB / 1.245 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/1.097, allocations: 0.621 MB / 1.246 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002185/1.1, allocations: 0.9422 MB / 1.247 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/1.1, allocations: 0 / 1.247 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003454/1.103, allocations: 1.244 MB / 1.248 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/1.103, allocations: 37.69 kB / 1.248 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/1.103, allocations: 4 kB / 1.248 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/1.103, allocations: 4 kB / 1.248 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009819/1.104, allocations: 196 kB / 1.248 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/1.104, allocations: 15.92 kB / 1.248 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001776/1.106, allocations: 273.9 kB / 1.248 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/1.106, allocations: 35.97 kB / 1.248 GB, free: 13.01 MB / 0.9512 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.0005708/1.107, allocations: 323.3 kB / 1.249 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003385/1.107, allocations: 118.6 kB / 1.249 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/1.109, allocations: 0.9929 MB / 1.25 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.949e-05/1.109, allocations: 11.98 kB / 1.25 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.109, allocations: 3.938 kB / 1.25 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.109, allocations: 4 kB / 1.25 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005331/1.115, allocations: 3.161 MB / 1.253 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.604e-05/1.115, allocations: 8 kB / 1.253 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/1.115, allocations: 120 kB / 1.253 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.564e-05/1.115, allocations: 12 kB / 1.253 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.478e-05/1.116, allocations: 27.98 kB / 1.253 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/1.116, allocations: 11.94 kB / 1.253 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/1.116, allocations: 8 kB / 1.253 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/1.118, allocations: 1.341 MB / 1.254 GB, free: 6.582 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006763/1.119, allocations: 331.3 kB / 1.255 GB, free: 6.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/1.119, allocations: 23.98 kB / 1.255 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/1.12, allocations: 103.9 kB / 1.255 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/1.12, allocations: 67.69 kB / 1.255 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.536e-05/1.12, allocations: 47.95 kB / 1.255 GB, free: 6 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001742/1.122, allocations: 0.8638 MB / 1.256 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/1.122, allocations: 0 / 1.256 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00123/1.123, allocations: 303.8 kB / 1.256 GB, free: 4.832 MB / 0.9512 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.0008477/1.124, allocations: 353.8 kB / 1.256 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002724/1.127, allocations: 1.048 MB / 1.257 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.127, allocations: 0 / 1.257 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009792/1.128, allocations: 0.5125 MB / 1.258 GB, free: 2.91 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003196/1.131, allocations: 0.5565 MB / 1.258 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/1.135, allocations: 2.094 MB / 1.26 GB, free: 148 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007723/1.136, allocations: 1.061 MB / 1.262 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004169/1.137, allocations: 91.41 kB / 1.262 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of SimCode: time 8.82e-07/1.137, allocations: 0 / 1.262 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of Templates: time 0.0319/1.169, allocations: 18.73 MB / 1.28 GB, free: 12.36 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches