Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.ConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dyn.Q_flow|dyn.medium.T|ste.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.34/2.34, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001219/0.001219, allocations: 185 kB / 498.1 MB, free: 5.73 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.639/1.639, allocations: 223.2 MB / 0.7948 GB, free: 17.84 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.0009545/0.0009545, allocations: 95.64 kB / 0.9346 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003461/0.0003462, allocations: 13.78 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3284, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.153/1.482, allocations: 401.2 MB / 1.615 GB, free: 10.51 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/1.482, allocations: 95.27 kB / 1.615 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.6132/2.095, allocations: 260.1 MB / 1.869 GB, free: 3.926 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.445e-06/2.095, allocations: 4 kB / 1.869 GB, free: 3.922 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001018/2.095, allocations: 23.92 kB / 1.869 GB, free: 3.898 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.003184/2.099, allocations: 1.034 MB / 1.87 GB, free: 2.805 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/2.099, allocations: 12.03 kB / 1.87 GB, free: 2.793 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/2.1, allocations: 179.1 kB / 1.87 GB, free: 2.617 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8268/2.927, allocations: 12.08 MB / 1.882 GB, free: 357.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003521/2.927, allocations: 94.03 kB / 1.882 GB, free: 357.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/2.927, allocations: 37.75 kB / 1.882 GB, free: 357.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/2.928, allocations: 0.5074 MB / 1.882 GB, free: 357.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/2.928, allocations: 3.406 kB / 1.882 GB, free: 357.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.543e-05/2.928, allocations: 22.34 kB / 1.882 GB, free: 357.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.642e-05/2.928, allocations: 14.56 kB / 1.882 GB, free: 357.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/2.929, allocations: 425.2 kB / 1.883 GB, free: 357.4 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.003549/2.933, allocations: 2.274 MB / 1.885 GB, free: 356.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/2.934, allocations: 386.8 kB / 1.885 GB, free: 356.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004276/2.935, allocations: 344.3 kB / 1.886 GB, free: 355.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008622/2.936, allocations: 311.6 kB / 1.886 GB, free: 355.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=33): time 2.825e-06/2.936, allocations: 0 / 1.886 GB, free: 355.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=33): time 0.003055/2.939, allocations: 0.9663 MB / 1.887 GB, free: 355.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/2.939, allocations: 82.08 kB / 1.887 GB, free: 355.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009589/2.94, allocations: 429.2 kB / 1.887 GB, free: 355.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.623e-05/2.94, allocations: 33.2 kB / 1.887 GB, free: 355.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/2.94, allocations: 285 kB / 1.888 GB, free: 355 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/2.94, allocations: 109.6 kB / 1.888 GB, free: 354.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.769e-05/2.94, allocations: 9.031 kB / 1.888 GB, free: 354.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001824/2.941, allocations: 360.8 kB / 1.888 GB, free: 354.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005832/2.941, allocations: 180.5 kB / 1.888 GB, free: 354.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/2.942, allocations: 281.4 kB / 1.889 GB, free: 354.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/2.942, allocations: 226.7 kB / 1.889 GB, free: 354.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/2.942, allocations: 1.75 kB / 1.889 GB, free: 354.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001875/2.944, allocations: 0.6426 MB / 1.889 GB, free: 354.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003534/2.945, allocations: 0.6461 MB / 1.89 GB, free: 353.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/2.945, allocations: 1.344 kB / 1.89 GB, free: 353.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003461/2.945, allocations: 47.38 kB / 1.89 GB, free: 353.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/2.946, allocations: 86.14 kB / 1.89 GB, free: 353.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005701/2.946, allocations: 0.6048 MB / 1.891 GB, free: 353.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/2.947, allocations: 81 kB / 1.891 GB, free: 353.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/2.947, allocations: 21.62 kB / 1.891 GB, free: 353.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/2.947, allocations: 4.406 kB / 1.891 GB, free: 353.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001636/2.949, allocations: 0.5707 MB / 1.891 GB, free: 353.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/2.949, allocations: 1.719 kB / 1.891 GB, free: 353.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/2.949, allocations: 51.97 kB / 1.892 GB, free: 353.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/2.949, allocations: 87.27 kB / 1.892 GB, free: 353.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/2.951, allocations: 1.632 MB / 1.893 GB, free: 351.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007021/2.952, allocations: 78.8 kB / 1.893 GB, free: 351.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.121e-05/2.952, allocations: 22.06 kB / 1.893 GB, free: 351.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (32): * Single equations (assignments): 30 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005685/2.953, allocations: 302.8 kB / 1.894 GB, free: 351.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/2.953, allocations: 63.62 kB / 1.894 GB, free: 351.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/2.955, allocations: 0.6713 MB / 1.894 GB, free: 351.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/2.955, allocations: 3.719 kB / 1.894 GB, free: 351.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/2.955, allocations: 0 / 1.894 GB, free: 351.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001583/2.956, allocations: 0.8233 MB / 1.895 GB, free: 351 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/2.959, allocations: 1.34 MB / 1.896 GB, free: 350.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/2.959, allocations: 1.312 kB / 1.896 GB, free: 350.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/2.96, allocations: 72.39 kB / 1.897 GB, free: 350.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001537/2.96, allocations: 40.92 kB / 1.897 GB, free: 350.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/2.96, allocations: 12.28 kB / 1.897 GB, free: 350.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003463/2.96, allocations: 0.5818 MB / 1.897 GB, free: 350 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/2.96, allocations: 4.953 kB / 1.897 GB, free: 350 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/2.963, allocations: 1.041 MB / 1.898 GB, free: 349.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/2.963, allocations: 187.3 kB / 1.898 GB, free: 349.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-05/2.963, allocations: 11.38 kB / 1.898 GB, free: 349.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005789/2.964, allocations: 68.28 kB / 1.898 GB, free: 349.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.633e-05/2.964, allocations: 24.84 kB / 1.898 GB, free: 349.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/2.964, allocations: 21.28 kB / 1.898 GB, free: 349.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004596/2.964, allocations: 343.1 kB / 1.899 GB, free: 349.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 4e-07/2.964, allocations: 0 / 1.899 GB, free: 349.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001848/2.966, allocations: 385.3 kB / 1.899 GB, free: 349.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * 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 (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/2.967, allocations: 434 kB / 1.9 GB, free: 349.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002245/2.969, allocations: 0.9869 MB / 1.901 GB, free: 349.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/2.969, allocations: 1.5 kB / 1.901 GB, free: 349.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005964/2.97, allocations: 322.4 kB / 1.901 GB, free: 349.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/2.971, allocations: 234.3 kB / 1.901 GB, free: 349.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/2.974, allocations: 1.345 MB / 1.902 GB, free: 348.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/2.974, allocations: 0.893 MB / 1.903 GB, free: 347.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0006002/2.975, allocations: 130.3 kB / 1.903 GB, free: 347.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/2.975, allocations: 51.31 kB / 1.903 GB, free: 347.8 MB / 1.167 GB Notification: Performance of SimCode: time 7.11e-07/2.975, allocations: 0 / 1.903 GB, free: 347.8 MB / 1.167 GB Notification: Performance of Templates: time 0.0218/2.997, allocations: 11.98 MB / 1.915 GB, free: 347.6 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.makefile (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.sim & ./Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Interfaces_Examples_ConservationEquation.csv","../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.ConservationEquation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches