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.13/2.13, allocations: 387.4 MB / 394.9 MB, free: 13.31 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.001092/0.001092, allocations: 176.8 kB / 487.4 MB, free: 5.02 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.465/1.465, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 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.000957/0.0009569, allocations: 87.98 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.69e-05/1.692e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2204, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.989/1.209, allocations: 400.4 MB / 1.597 GB, free: 5.605 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/1.21, allocations: 86.64 kB / 1.597 GB, free: 5.562 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.065/2.275, allocations: 257.7 MB / 1.849 GB, free: 357.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.553e-06/2.275, allocations: 3.312 kB / 1.849 GB, free: 357.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.855e-05/2.275, allocations: 18.31 kB / 1.849 GB, free: 357.6 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.00236/2.277, allocations: 0.9219 MB / 1.85 GB, free: 356.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/2.277, allocations: 11.81 kB / 1.85 GB, free: 356.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/2.279, allocations: 183 kB / 1.85 GB, free: 356.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0314/2.31, allocations: 11.98 MB / 1.862 GB, free: 349.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004067/2.311, allocations: 80.48 kB / 1.862 GB, free: 349.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.562e-05/2.311, allocations: 21.47 kB / 1.862 GB, free: 349.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006934/2.311, allocations: 294.7 kB / 1.862 GB, free: 349.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007906/2.312, allocations: 407.7 kB / 1.862 GB, free: 349.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/2.312, allocations: 4 kB / 1.862 GB, free: 349.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.528e-05/2.312, allocations: 3.938 kB / 1.862 GB, free: 349.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/2.312, allocations: 24.72 kB / 1.862 GB, free: 349 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.003278/2.316, allocations: 2.183 MB / 1.864 GB, free: 346.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/2.316, allocations: 264.8 kB / 1.865 GB, free: 346.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002799/2.316, allocations: 174.4 kB / 1.865 GB, free: 346.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/2.317, allocations: 339.6 kB / 1.865 GB, free: 345.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004102/2.317, allocations: 254.1 kB / 1.865 GB, free: 345.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 3.166e-06/2.317, allocations: 0 / 1.865 GB, free: 345.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.001342/2.319, allocations: 478.2 kB / 1.866 GB, free: 345.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/2.319, allocations: 81.11 kB / 1.866 GB, free: 345 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004461/2.319, allocations: 369.4 kB / 1.866 GB, free: 344.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/2.319, allocations: 25.7 kB / 1.866 GB, free: 344.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/2.319, allocations: 280.1 kB / 1.867 GB, free: 344.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.945e-05/2.319, allocations: 106.5 kB / 1.867 GB, free: 344.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/2.319, allocations: 0 / 1.867 GB, free: 344.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/2.32, allocations: 362.7 kB / 1.867 GB, free: 343.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/2.32, allocations: 120 kB / 1.867 GB, free: 343.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/2.32, allocations: 215.8 kB / 1.867 GB, free: 343.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000466/2.321, allocations: 170.5 kB / 1.868 GB, free: 343.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/2.321, allocations: 0 / 1.868 GB, free: 343.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00118/2.322, allocations: 0.5008 MB / 1.868 GB, free: 342.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001577/2.322, allocations: 0.6451 MB / 1.869 GB, free: 342.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/2.322, allocations: 0 / 1.869 GB, free: 342.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002107/2.322, allocations: 56.75 kB / 1.869 GB, free: 342.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/2.323, allocations: 87.83 kB / 1.869 GB, free: 342 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004143/2.323, allocations: 0.5954 MB / 1.869 GB, free: 341.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007218/2.324, allocations: 75.69 kB / 1.869 GB, free: 341.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/2.324, allocations: 20 kB / 1.869 GB, free: 341.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/2.324, allocations: 4 kB / 1.87 GB, free: 341.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001054/2.325, allocations: 432.4 kB / 1.87 GB, free: 340.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/2.325, allocations: 4 kB / 1.87 GB, free: 340.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001771/2.325, allocations: 44.83 kB / 1.87 GB, free: 340.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/2.326, allocations: 83.91 kB / 1.87 GB, free: 340.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/2.327, allocations: 1.566 MB / 1.872 GB, free: 339 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006695/2.328, allocations: 71.69 kB / 1.872 GB, free: 338.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.037e-05/2.328, allocations: 20 kB / 1.872 GB, free: 338.9 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.0001774/2.328, allocations: 150.9 kB / 1.872 GB, free: 338.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.97e-05/2.328, allocations: 51.44 kB / 1.872 GB, free: 338.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/2.329, allocations: 0.5286 MB / 1.872 GB, free: 338.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/2.329, allocations: 4 kB / 1.872 GB, free: 338.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/2.329, allocations: 0 / 1.872 GB, free: 338.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001034/2.33, allocations: 0.6763 MB / 1.873 GB, free: 337.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/2.333, allocations: 1.133 MB / 1.874 GB, free: 336.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/2.333, allocations: 4.094 kB / 1.874 GB, free: 336.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004659/2.333, allocations: 71.88 kB / 1.874 GB, free: 336.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001192/2.333, allocations: 37.19 kB / 1.874 GB, free: 336.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/2.333, allocations: 15.98 kB / 1.874 GB, free: 336.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003113/2.334, allocations: 0.5718 MB / 1.875 GB, free: 335.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/2.334, allocations: 4.031 kB / 1.875 GB, free: 335.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/2.335, allocations: 0.8499 MB / 1.876 GB, free: 334.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/2.335, allocations: 184.2 kB / 1.876 GB, free: 334.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/2.336, allocations: 4 kB / 1.876 GB, free: 334.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/2.336, allocations: 63.94 kB / 1.876 GB, free: 334.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/2.336, allocations: 23.97 kB / 1.876 GB, free: 334.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-05/2.336, allocations: 23.94 kB / 1.876 GB, free: 334.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003657/2.337, allocations: 290.9 kB / 1.876 GB, free: 334 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/2.337, allocations: 0 / 1.876 GB, free: 334 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00177/2.339, allocations: 371.3 kB / 1.877 GB, free: 333.7 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.0009431/2.34, allocations: 444.8 kB / 1.877 GB, free: 333.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001484/2.341, allocations: 0.7959 MB / 1.878 GB, free: 332.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/2.341, allocations: 4 kB / 1.878 GB, free: 332.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003938/2.341, allocations: 256.6 kB / 1.878 GB, free: 332.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/2.343, allocations: 219.8 kB / 1.878 GB, free: 331.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/2.345, allocations: 0.7644 MB / 1.879 GB, free: 331.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/2.345, allocations: 0.887 MB / 1.88 GB, free: 330.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009012/2.346, allocations: 152.2 kB / 1.88 GB, free: 330.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/2.346, allocations: 35.42 kB / 1.88 GB, free: 330.1 MB / 1.151 GB Notification: Performance of SimCode: time 6.01e-07/2.346, allocations: 0 / 1.88 GB, free: 330.1 MB / 1.151 GB Notification: Performance of Templates: time 0.02303/2.369, allocations: 11.34 MB / 1.891 GB, free: 318.8 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