Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 390.3 MB / 405.3 MB, free: 13.41 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 173 kB / 498.1 MB, free: 5.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.769/1.769, allocations: 223.2 MB / 0.7948 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 92.2 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003631/0.0003631, allocations: 13.23 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.2934, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.857/5.15, allocations: 2.155 GB / 3.378 GB, free: 276.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/5.151, allocations: 89.25 kB / 3.378 GB, free: 276.7 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.02/7.171, allocations: 0.6592 GB / 4.037 GB, free: 72.96 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.162e-06/7.171, allocations: 0 / 4.037 GB, free: 72.96 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.522e-05/7.171, allocations: 35.97 kB / 4.037 GB, free: 72.93 MB / 1.167 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.004366/7.175, allocations: 1.649 MB / 4.039 GB, free: 71.22 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/7.175, allocations: 12.03 kB / 4.039 GB, free: 71.21 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/7.178, allocations: 0.5333 MB / 4.039 GB, free: 70.67 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02505/7.203, allocations: 13.22 MB / 4.052 GB, free: 57.28 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001158/7.204, allocations: 317.2 kB / 4.052 GB, free: 56.97 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/7.205, allocations: 68 kB / 4.052 GB, free: 56.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/7.207, allocations: 1.171 MB / 4.054 GB, free: 55.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/7.207, allocations: 4 kB / 4.054 GB, free: 55.69 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.434e-05/7.207, allocations: 24 kB / 4.054 GB, free: 55.67 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.623e-05/7.207, allocations: 37.3 kB / 4.054 GB, free: 55.63 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/7.21, allocations: 1.168 MB / 4.055 GB, free: 54.46 MB / 1.167 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.006172/7.216, allocations: 3.318 MB / 4.058 GB, free: 51.07 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/7.217, allocations: 0.688 MB / 4.059 GB, free: 50.37 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006838/7.218, allocations: 1.025 MB / 4.06 GB, free: 49.12 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008545/7.219, allocations: 0.5416 MB / 4.06 GB, free: 48.55 MB / 1.167 GB Notification: Performance of pre-optimization done (n=57): time 2.855e-06/7.219, allocations: 0 / 4.06 GB, free: 48.55 MB / 1.167 GB Notification: Performance of matching and sorting (n=57): time 0.002729/7.222, allocations: 1.367 MB / 4.062 GB, free: 47.16 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/7.222, allocations: 136.9 kB / 4.062 GB, free: 47 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001518/7.223, allocations: 1.089 MB / 4.063 GB, free: 45.89 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.681e-05/7.223, allocations: 37.7 kB / 4.063 GB, free: 45.85 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002633/7.224, allocations: 445.8 kB / 4.063 GB, free: 45.41 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/7.224, allocations: 189.3 kB / 4.063 GB, free: 45.22 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/7.224, allocations: 12 kB / 4.063 GB, free: 45.21 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.751e-05/7.224, allocations: 330 kB / 4.064 GB, free: 44.88 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/7.225, allocations: 496.9 kB / 4.064 GB, free: 44.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/7.226, allocations: 0.7042 MB / 4.065 GB, free: 43.62 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/7.228, allocations: 0.5493 MB / 4.065 GB, free: 43.06 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/7.228, allocations: 4 kB / 4.065 GB, free: 43.06 MB / 1.167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002898/7.23, allocations: 1.332 MB / 4.067 GB, free: 41.71 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.229e-05/7.231, allocations: 34.95 kB / 4.067 GB, free: 41.67 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.088e-06/7.231, allocations: 8 kB / 4.067 GB, free: 41.66 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/7.231, allocations: 4 kB / 4.067 GB, free: 41.66 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009744/7.232, allocations: 215.7 kB / 4.067 GB, free: 41.45 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/7.232, allocations: 11.98 kB / 4.067 GB, free: 41.44 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/7.233, allocations: 318.7 kB / 4.067 GB, free: 41.12 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/7.233, allocations: 47.95 kB / 4.067 GB, free: 41.08 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000519/7.234, allocations: 331.3 kB / 4.068 GB, free: 40.74 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/7.234, allocations: 118.6 kB / 4.068 GB, free: 40.62 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001904/7.236, allocations: 1.05 MB / 4.069 GB, free: 39.55 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/7.236, allocations: 11.94 kB / 4.069 GB, free: 39.54 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/7.236, allocations: 7.984 kB / 4.069 GB, free: 39.54 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/7.236, allocations: 0 / 4.069 GB, free: 39.54 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004171/7.24, allocations: 3.259 MB / 4.072 GB, free: 36.12 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/7.24, allocations: 11.94 kB / 4.072 GB, free: 36.11 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006707/7.241, allocations: 127.8 kB / 4.072 GB, free: 35.98 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/7.241, allocations: 12.16 kB / 4.072 GB, free: 35.97 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/7.241, allocations: 23.98 kB / 4.072 GB, free: 35.95 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.518e-06/7.241, allocations: 19.92 kB / 4.072 GB, free: 35.93 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/7.241, allocations: 11.94 kB / 4.072 GB, free: 35.92 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/7.243, allocations: 1.799 MB / 4.074 GB, free: 33.85 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/7.244, allocations: 335.4 kB / 4.074 GB, free: 33.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/7.244, allocations: 24 kB / 4.074 GB, free: 33.48 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/7.245, allocations: 131.9 kB / 4.074 GB, free: 33.35 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.867e-05/7.245, allocations: 63.73 kB / 4.075 GB, free: 33.29 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.184e-05/7.245, allocations: 43.95 kB / 4.075 GB, free: 33.24 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001385/7.247, allocations: 0.8755 MB / 4.075 GB, free: 32.36 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.01e-07/7.247, allocations: 3.938 kB / 4.075 GB, free: 32.36 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001586/7.248, allocations: 439.7 kB / 4.076 GB, free: 31.93 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002386/7.251, allocations: 1.594 MB / 4.077 GB, free: 30.27 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002274/7.253, allocations: 1.076 MB / 4.078 GB, free: 29.18 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/7.253, allocations: 3.938 kB / 4.078 GB, free: 29.18 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007985/7.254, allocations: 0.5309 MB / 4.079 GB, free: 28.64 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002462/7.256, allocations: 0.5339 MB / 4.079 GB, free: 28.11 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/7.26, allocations: 2.26 MB / 4.082 GB, free: 25.71 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004393/7.26, allocations: 1.097 MB / 4.083 GB, free: 24.59 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001254/7.261, allocations: 280.1 kB / 4.083 GB, free: 24.31 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/7.262, allocations: 95.33 kB / 4.083 GB, free: 24.21 MB / 1.167 GB Notification: Performance of SimCode: time 9.02e-07/7.262, allocations: 0 / 4.083 GB, free: 24.21 MB / 1.167 GB Notification: Performance of Templates: time 0.6839/7.946, allocations: 37.09 MB / 4.119 GB, free: 258.3 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches