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.312/2.312, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001269/0.001269, allocations: 180.1 kB / 492.3 MB, free: 0.625 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.667/1.667, allocations: 221.3 MB / 0.7872 GB, free: 12.97 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.000901/0.0009007, allocations: 91.89 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.259e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2935, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.259/1.553, allocations: 401.1 MB / 1.604 GB, free: 13.04 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/1.553, allocations: 85.27 kB / 1.604 GB, free: 13 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.304/2.858, allocations: 259.3 MB / 1.857 GB, free: 349 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.645e-06/2.858, allocations: 0 / 1.857 GB, free: 349 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.146e-05/2.858, allocations: 20.02 kB / 1.857 GB, free: 349 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002099/2.86, allocations: 0.9229 MB / 1.858 GB, free: 348.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/2.86, allocations: 11.31 kB / 1.858 GB, free: 348.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/2.861, allocations: 187.4 kB / 1.859 GB, free: 348.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03134/2.892, allocations: 12.01 MB / 1.87 GB, free: 337.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004324/2.893, allocations: 100.7 kB / 1.87 GB, free: 337.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/2.893, allocations: 36 kB / 1.87 GB, free: 337.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009998/2.894, allocations: 462.3 kB / 1.871 GB, free: 336.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/2.894, allocations: 0 / 1.871 GB, free: 336.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/2.894, allocations: 19.94 kB / 1.871 GB, free: 336.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-05/2.894, allocations: 16.73 kB / 1.871 GB, free: 336.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006606/2.895, allocations: 323 kB / 1.871 GB, free: 336.3 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.00362/2.898, allocations: 2.272 MB / 1.873 GB, free: 333.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006082/2.899, allocations: 271.1 kB / 1.874 GB, free: 333.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/2.899, allocations: 179.4 kB / 1.874 GB, free: 333.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003158/2.9, allocations: 343.5 kB / 1.874 GB, free: 333 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/2.9, allocations: 265.3 kB / 1.874 GB, free: 332.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.895e-06/2.9, allocations: 0 / 1.874 GB, free: 332.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001154/2.901, allocations: 486.3 kB / 1.875 GB, free: 332.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/2.901, allocations: 85.09 kB / 1.875 GB, free: 332.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005734/2.902, allocations: 432.8 kB / 1.875 GB, free: 331.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/2.902, allocations: 37.7 kB / 1.875 GB, free: 331.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001968/2.902, allocations: 280.4 kB / 1.876 GB, free: 331.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.733e-05/2.902, allocations: 105.1 kB / 1.876 GB, free: 331.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/2.902, allocations: 8 kB / 1.876 GB, free: 331.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001069/2.902, allocations: 362.8 kB / 1.876 GB, free: 330.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/2.903, allocations: 124 kB / 1.876 GB, free: 330.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/2.903, allocations: 237.1 kB / 1.876 GB, free: 330.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/2.903, allocations: 171.7 kB / 1.877 GB, free: 330.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/2.903, allocations: 7.953 kB / 1.877 GB, free: 330.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009976/2.904, allocations: 0.5293 MB / 1.877 GB, free: 329.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001822/2.905, allocations: 0.6464 MB / 1.878 GB, free: 329 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/2.905, allocations: 4 kB / 1.878 GB, free: 329 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/2.905, allocations: 52.77 kB / 1.878 GB, free: 329 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004812/2.905, allocations: 87.88 kB / 1.878 GB, free: 328.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004386/2.906, allocations: 0.5914 MB / 1.879 GB, free: 328.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007796/2.907, allocations: 79.69 kB / 1.879 GB, free: 328.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/2.907, allocations: 27.98 kB / 1.879 GB, free: 328.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/2.907, allocations: 7.938 kB / 1.879 GB, free: 328.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000996/2.908, allocations: 474.5 kB / 1.879 GB, free: 327.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/2.908, allocations: 0 / 1.879 GB, free: 327.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/2.908, allocations: 53.02 kB / 1.879 GB, free: 327.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/2.908, allocations: 87.94 kB / 1.879 GB, free: 327.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001485/2.91, allocations: 1.627 MB / 1.881 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007083/2.911, allocations: 83.69 kB / 1.881 GB, free: 325.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/2.911, allocations: 16.09 kB / 1.881 GB, free: 325.7 MB / 1.151 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 () * 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.0002045/2.911, allocations: 169.4 kB / 1.881 GB, free: 325.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/2.911, allocations: 55.34 kB / 1.881 GB, free: 325.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/2.912, allocations: 0.568 MB / 1.882 GB, free: 324.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/2.912, allocations: 12.02 kB / 1.882 GB, free: 324.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/2.912, allocations: 0 / 1.882 GB, free: 324.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009631/2.913, allocations: 0.7254 MB / 1.882 GB, free: 324.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/2.915, allocations: 1.216 MB / 1.884 GB, free: 322.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/2.915, allocations: 4 kB / 1.884 GB, free: 322.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/2.916, allocations: 75.97 kB / 1.884 GB, free: 322.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001623/2.916, allocations: 40.84 kB / 1.884 GB, free: 322.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/2.916, allocations: 19.98 kB / 1.884 GB, free: 322.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003458/2.917, allocations: 0.5757 MB / 1.884 GB, free: 322 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/2.917, allocations: 4 kB / 1.884 GB, free: 322 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00139/2.918, allocations: 0.8861 MB / 1.885 GB, free: 321.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/2.918, allocations: 192.3 kB / 1.885 GB, free: 320.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.045e-05/2.918, allocations: 8 kB / 1.885 GB, free: 320.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007216/2.919, allocations: 71.92 kB / 1.885 GB, free: 320.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/2.919, allocations: 27.97 kB / 1.885 GB, free: 320.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/2.919, allocations: 23.98 kB / 1.885 GB, free: 320.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004819/2.92, allocations: 329.6 kB / 1.886 GB, free: 320.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.11e-07/2.92, allocations: 3.938 kB / 1.886 GB, free: 320.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001896/2.922, allocations: 379.5 kB / 1.886 GB, free: 320.1 MB / 1.151 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) * 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.001164/2.923, allocations: 427.2 kB / 1.887 GB, free: 319.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001639/2.925, allocations: 0.8525 MB / 1.887 GB, free: 318.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/2.925, allocations: 4 kB / 1.887 GB, free: 318.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000436/2.925, allocations: 284.1 kB / 1.888 GB, free: 318.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/2.927, allocations: 233.6 kB / 1.888 GB, free: 318.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/2.929, allocations: 0.777 MB / 1.889 GB, free: 317.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/2.929, allocations: 0.8989 MB / 1.889 GB, free: 316.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007627/2.93, allocations: 160.3 kB / 1.89 GB, free: 316.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/2.93, allocations: 35.42 kB / 1.89 GB, free: 316.3 MB / 1.151 GB Notification: Performance of SimCode: time 8.92e-07/2.93, allocations: 0 / 1.89 GB, free: 316.3 MB / 1.151 GB Notification: Performance of Templates: time 0.02163/2.952, allocations: 13.29 MB / 1.903 GB, free: 303.2 MB / 1.151 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