Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTraSubIn.C|senTraSubOut.C|cheConMas.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.308/2.308, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001468/0.001468, allocations: 183.5 kB / 0.4902 GB, free: 2.223 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.772/1.772, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.000883/0.0008829, allocations: 92.22 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004555, allocations: 10.44 kB / 1.09 GB, free: 215.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3265, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.926/5.252, allocations: 1.931 GB / 3.161 GB, free: 21.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004016/5.253, allocations: 93.89 kB / 3.161 GB, free: 21.85 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.973/8.226, allocations: 0.6008 GB / 3.761 GB, free: 311.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.573e-06/8.226, allocations: 0 / 3.761 GB, free: 311.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001161/8.226, allocations: 21.78 kB / 3.761 GB, free: 311.6 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003622/8.229, allocations: 1.248 MB / 3.763 GB, free: 311 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/8.229, allocations: 12.17 kB / 3.763 GB, free: 311 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/8.231, allocations: 212.3 kB / 3.763 GB, free: 311 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/8.233, allocations: 0.6668 MB / 3.764 GB, free: 310.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.504e-05/8.233, allocations: 57.14 kB / 3.764 GB, free: 310.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001886/8.233, allocations: 79.69 kB / 3.764 GB, free: 310.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/8.234, allocations: 0.9077 MB / 3.765 GB, free: 310.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/8.234, allocations: 3.812 kB / 3.765 GB, free: 310.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.639e-05/8.234, allocations: 29.38 kB / 3.765 GB, free: 310.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/8.235, allocations: 29.12 kB / 3.765 GB, free: 310.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009913/8.236, allocations: 0.5936 MB / 3.765 GB, free: 310.5 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.004455/8.24, allocations: 4.574 MB / 3.77 GB, free: 307.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/8.241, allocations: 449 kB / 3.77 GB, free: 307.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/8.241, allocations: 103.6 kB / 3.77 GB, free: 307.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/8.241, allocations: 43.19 kB / 3.77 GB, free: 307.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 1.933e-06/8.241, allocations: 0 / 3.77 GB, free: 307.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=45): time 0.002744/8.244, allocations: 1.559 MB / 3.772 GB, free: 306.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/8.244, allocations: 114.3 kB / 3.772 GB, free: 306.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006588/8.244, allocations: 0.6227 MB / 3.772 GB, free: 306.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/8.244, allocations: 36.48 kB / 3.773 GB, free: 306.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/8.245, allocations: 428.3 kB / 3.773 GB, free: 306 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/8.245, allocations: 153 kB / 3.773 GB, free: 305.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/8.245, allocations: 14.19 kB / 3.773 GB, free: 305.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.315e-05/8.245, allocations: 332.3 kB / 3.773 GB, free: 305.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/8.245, allocations: 188.2 kB / 3.774 GB, free: 305.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/8.246, allocations: 414.5 kB / 3.774 GB, free: 305.3 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/8.247, allocations: 0.6721 MB / 3.775 GB, free: 305.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/8.247, allocations: 0 / 3.775 GB, free: 305.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001044/8.248, allocations: 0.655 MB / 3.775 GB, free: 305.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/8.248, allocations: 6.719 kB / 3.775 GB, free: 305.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/8.248, allocations: 14.17 kB / 3.775 GB, free: 305.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.087e-05/8.248, allocations: 10.75 kB / 3.775 GB, free: 305.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/8.249, allocations: 128.4 kB / 3.775 GB, free: 305.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/8.249, allocations: 7.156 kB / 3.775 GB, free: 305.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006613/8.25, allocations: 57.94 kB / 3.776 GB, free: 305.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.276e-05/8.25, allocations: 31.48 kB / 3.776 GB, free: 305.1 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * 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.0004614/8.25, allocations: 287.2 kB / 3.776 GB, free: 304.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/8.25, allocations: 83.91 kB / 3.776 GB, free: 304.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001955/8.25, allocations: 87.89 kB / 3.776 GB, free: 304.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/8.25, allocations: 5.844 kB / 3.776 GB, free: 304.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/8.25, allocations: 2.906 kB / 3.776 GB, free: 304.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007137/8.251, allocations: 0.6845 MB / 3.777 GB, free: 304.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/8.254, allocations: 1.618 MB / 3.778 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/8.254, allocations: 3.781 kB / 3.778 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/8.254, allocations: 95.31 kB / 3.778 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/8.254, allocations: 7.906 kB / 3.778 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/8.254, allocations: 16.84 kB / 3.778 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/8.254, allocations: 7.875 kB / 3.778 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/8.254, allocations: 7.375 kB / 3.778 GB, free: 303.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00137/8.256, allocations: 1.023 MB / 3.779 GB, free: 303.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/8.256, allocations: 202.3 kB / 3.78 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/8.256, allocations: 19.28 kB / 3.78 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005219/8.257, allocations: 40.23 kB / 3.78 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/8.257, allocations: 36.69 kB / 3.78 GB, free: 302.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.849e-05/8.257, allocations: 23.03 kB / 3.78 GB, free: 302.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006594/8.257, allocations: 0.508 MB / 3.78 GB, free: 302.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/8.257, allocations: 0 / 3.78 GB, free: 302.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001812/8.259, allocations: 362.9 kB / 3.781 GB, free: 302.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.003009/8.262, allocations: 1.674 MB / 3.782 GB, free: 302 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008371/8.263, allocations: 474.5 kB / 3.783 GB, free: 301.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/8.263, allocations: 0 / 3.783 GB, free: 301.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002688/8.263, allocations: 208.4 kB / 3.783 GB, free: 301.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/8.265, allocations: 460.1 kB / 3.783 GB, free: 301.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/8.268, allocations: 1.986 MB / 3.785 GB, free: 300.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/8.269, allocations: 1.043 MB / 3.786 GB, free: 299.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007357/8.27, allocations: 195.8 kB / 3.786 GB, free: 299.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/8.27, allocations: 61.12 kB / 3.786 GB, free: 299.3 MB / 1.167 GB Notification: Performance of SimCode: time 7.01e-07/8.27, allocations: 3.25 kB / 3.786 GB, free: 299.3 MB / 1.167 GB Notification: Performance of Templates: time 0.04722/8.317, allocations: 33.77 MB / 3.819 GB, free: 270.8 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches