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.186/2.186, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001161/0.001161, allocations: 168.9 kB / 487.4 MB, free: 5.031 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.453/1.453, allocations: 221.5 MB / 0.7824 GB, free: 0.8867 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000933/0.0009329, allocations: 102.1 kB / 0.9219 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.656e-05/1.659e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2519, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.278/5.53, allocations: 2.154 GB / 3.36 GB, free: 171.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/5.53, allocations: 79.95 kB / 3.36 GB, free: 171.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.714/8.244, allocations: 0.6516 GB / 4.012 GB, free: 266.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.593e-06/8.244, allocations: 1.25 kB / 4.012 GB, free: 266.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002306/8.244, allocations: 39.81 kB / 4.012 GB, free: 266.1 MB / 1.151 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.006332/8.25, allocations: 1.48 MB / 4.013 GB, free: 265.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/8.25, allocations: 12.06 kB / 4.013 GB, free: 265.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003616/8.254, allocations: 0.5277 MB / 4.014 GB, free: 265.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03454/8.289, allocations: 13.12 MB / 4.027 GB, free: 264.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001212/8.29, allocations: 290.8 kB / 4.027 GB, free: 264.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003842/8.29, allocations: 39.16 kB / 4.027 GB, free: 264.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001815/8.292, allocations: 0.7208 MB / 4.028 GB, free: 264.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/8.294, allocations: 0.8928 MB / 4.028 GB, free: 264.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/8.294, allocations: 2.25 kB / 4.028 GB, free: 264.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/8.294, allocations: 3.75 kB / 4.028 GB, free: 264.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.858e-05/8.294, allocations: 36.67 kB / 4.028 GB, free: 264.7 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.006936/8.301, allocations: 3.113 MB / 4.032 GB, free: 263.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009403/8.302, allocations: 0.5564 MB / 4.032 GB, free: 263.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/8.303, allocations: 355.8 kB / 4.032 GB, free: 263.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008355/8.304, allocations: 1.021 MB / 4.033 GB, free: 262.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006546/8.304, allocations: 482.1 kB / 4.034 GB, free: 262.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 4.539e-06/8.304, allocations: 0 / 4.034 GB, free: 262.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.00199/8.306, allocations: 0.7896 MB / 4.035 GB, free: 262.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/8.306, allocations: 136.5 kB / 4.035 GB, free: 262.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/8.307, allocations: 0.6531 MB / 4.035 GB, free: 262.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000115/8.308, allocations: 25.7 kB / 4.035 GB, free: 262.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/8.308, allocations: 460.7 kB / 4.036 GB, free: 262 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/8.308, allocations: 183.1 kB / 4.036 GB, free: 261.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/8.308, allocations: 3.5 kB / 4.036 GB, free: 261.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.308e-05/8.308, allocations: 327.5 kB / 4.036 GB, free: 261.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/8.309, allocations: 308.5 kB / 4.037 GB, free: 261.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000555/8.309, allocations: 0.4885 MB / 4.037 GB, free: 261.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008276/8.31, allocations: 401.4 kB / 4.038 GB, free: 261.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/8.31, allocations: 7.859 kB / 4.038 GB, free: 261.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001731/8.312, allocations: 0.9191 MB / 4.038 GB, free: 261.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/8.312, allocations: 32.45 kB / 4.038 GB, free: 261.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/8.312, allocations: 3.719 kB / 4.038 GB, free: 261.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/8.312, allocations: 7.812 kB / 4.038 GB, free: 261.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009448/8.313, allocations: 219.3 kB / 4.039 GB, free: 261.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/8.313, allocations: 6.625 kB / 4.039 GB, free: 261.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/8.314, allocations: 265.5 kB / 4.039 GB, free: 261.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/8.315, allocations: 43.59 kB / 4.039 GB, free: 261.3 MB / 1.151 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 () * 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.0003334/8.315, allocations: 158 kB / 4.039 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/8.315, allocations: 98.77 kB / 4.039 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/8.317, allocations: 0.8418 MB / 4.04 GB, free: 261 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/8.317, allocations: 7.125 kB / 4.04 GB, free: 261 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/8.317, allocations: 0 / 4.04 GB, free: 261 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/8.317, allocations: 10.98 kB / 4.04 GB, free: 261 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004241/8.321, allocations: 2.954 MB / 4.043 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-05/8.321, allocations: 7.156 kB / 4.043 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005925/8.322, allocations: 128.4 kB / 4.043 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/8.322, allocations: 11.03 kB / 4.043 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/8.322, allocations: 20.78 kB / 4.043 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/8.322, allocations: 15.05 kB / 4.043 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/8.322, allocations: 13.91 kB / 4.043 GB, free: 260.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/8.324, allocations: 1.563 MB / 4.045 GB, free: 259.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005422/8.324, allocations: 304.8 kB / 4.045 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/8.325, allocations: 22.38 kB / 4.045 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/8.326, allocations: 118.9 kB / 4.045 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/8.326, allocations: 60.77 kB / 4.045 GB, free: 259.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001024/8.326, allocations: 39.91 kB / 4.045 GB, free: 259.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007327/8.327, allocations: 0.5042 MB / 4.046 GB, free: 259.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.7e-07/8.327, allocations: 0 / 4.046 GB, free: 259.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001868/8.329, allocations: 407.6 kB / 4.046 GB, free: 259.1 MB / 1.151 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) * 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.003171/8.332, allocations: 1.748 MB / 4.048 GB, free: 258.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001318/8.333, allocations: 0.8059 MB / 4.049 GB, free: 258.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/8.333, allocations: 3.656 kB / 4.049 GB, free: 258.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006039/8.334, allocations: 457 kB / 4.049 GB, free: 258.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/8.336, allocations: 369.9 kB / 4.049 GB, free: 258.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/8.34, allocations: 1.483 MB / 4.051 GB, free: 257.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007284/8.34, allocations: 1.088 MB / 4.052 GB, free: 257.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001146/8.342, allocations: 245.1 kB / 4.052 GB, free: 257.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/8.342, allocations: 68.52 kB / 4.052 GB, free: 257.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.242e-06/8.342, allocations: 2.875 kB / 4.052 GB, free: 257.2 MB / 1.151 GB Notification: Performance of Templates: time 0.04202/8.384, allocations: 23.08 MB / 4.075 GB, free: 256.5 MB / 1.151 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