Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.529/2.529, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001347/0.001347, allocations: 181 kB / 498.1 MB, free: 5.719 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.591/1.591, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.001091/0.001091, allocations: 98.02 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003711/0.0003714, allocations: 6.969 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3297, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.805/5.135, allocations: 1.93 GB / 3.152 GB, free: 84 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/5.135, allocations: 95.45 kB / 3.153 GB, free: 83.91 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.809/7.944, allocations: 0.615 GB / 3.768 GB, free: 304.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.142e-06/7.944, allocations: 0 / 3.768 GB, free: 304.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.267e-05/7.944, allocations: 24.45 kB / 3.768 GB, free: 304.3 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002182/7.946, allocations: 1.128 MB / 3.769 GB, free: 303.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/7.947, allocations: 12.23 kB / 3.769 GB, free: 303.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008271/7.947, allocations: 179.3 kB / 3.769 GB, free: 303.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008891/7.948, allocations: 0.5469 MB / 3.769 GB, free: 303.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000328/7.949, allocations: 111.8 kB / 3.769 GB, free: 303.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.058e-05/7.949, allocations: 63.02 kB / 3.77 GB, free: 303.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/7.95, allocations: 0.7504 MB / 3.77 GB, free: 303.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/7.95, allocations: 7.531 kB / 3.77 GB, free: 303.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-05/7.95, allocations: 29.73 kB / 3.77 GB, free: 303.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/7.95, allocations: 23.84 kB / 3.77 GB, free: 303.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000798/7.951, allocations: 461.3 kB / 3.771 GB, free: 303.1 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.00312/7.954, allocations: 4.203 MB / 3.775 GB, free: 300.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.613e-05/7.954, allocations: 109.7 kB / 3.775 GB, free: 300 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/7.954, allocations: 95.36 kB / 3.775 GB, free: 299.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/7.954, allocations: 38.94 kB / 3.775 GB, free: 299.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/7.954, allocations: 3.125 kB / 3.775 GB, free: 299.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.0006059/7.955, allocations: 241.4 kB / 3.775 GB, free: 299.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/7.955, allocations: 132.4 kB / 3.775 GB, free: 299.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008603/7.956, allocations: 0.7404 MB / 3.776 GB, free: 299.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/7.956, allocations: 33.3 kB / 3.776 GB, free: 299.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/7.956, allocations: 392.9 kB / 3.777 GB, free: 299.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/7.956, allocations: 39.94 kB / 3.777 GB, free: 299.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/7.956, allocations: 10.91 kB / 3.777 GB, free: 299.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.879e-05/7.956, allocations: 320 kB / 3.777 GB, free: 299 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002426/7.956, allocations: 107.8 kB / 3.777 GB, free: 299 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/7.957, allocations: 355.5 kB / 3.777 GB, free: 298.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/7.957, allocations: 174.9 kB / 3.778 GB, free: 298.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/7.957, allocations: 3.969 kB / 3.778 GB, free: 298.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009153/7.958, allocations: 494.7 kB / 3.778 GB, free: 298.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/7.958, allocations: 7.719 kB / 3.778 GB, free: 298.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/7.958, allocations: 7.875 kB / 3.778 GB, free: 298.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/7.958, allocations: 11.69 kB / 3.778 GB, free: 298.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/7.958, allocations: 98.09 kB / 3.778 GB, free: 298.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/7.958, allocations: 18.3 kB / 3.778 GB, free: 298.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007764/7.959, allocations: 134.7 kB / 3.778 GB, free: 298.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.658e-05/7.959, allocations: 26.22 kB / 3.778 GB, free: 298.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0003321/7.96, allocations: 225.9 kB / 3.779 GB, free: 298.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/7.96, allocations: 77.38 kB / 3.779 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/7.96, allocations: 69.09 kB / 3.779 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/7.96, allocations: 0 / 3.779 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/7.96, allocations: 7.781 kB / 3.779 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/7.96, allocations: 3.953 kB / 3.779 GB, free: 298.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/7.961, allocations: 1.131 MB / 3.78 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/7.961, allocations: 0 / 3.78 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.369e-05/7.961, allocations: 19.44 kB / 3.78 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/7.961, allocations: 3.594 kB / 3.78 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/7.961, allocations: 3.969 kB / 3.78 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/7.961, allocations: 11.5 kB / 3.78 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/7.961, allocations: 0 / 3.78 GB, free: 297.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/7.962, allocations: 366.9 kB / 3.78 GB, free: 297.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/7.962, allocations: 180.8 kB / 3.78 GB, free: 297.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.463e-05/7.962, allocations: 3.969 kB / 3.78 GB, free: 297.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/7.962, allocations: 22.45 kB / 3.78 GB, free: 297.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/7.963, allocations: 18.53 kB / 3.78 GB, free: 297.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/7.963, allocations: 3.906 kB / 3.78 GB, free: 297.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008684/7.963, allocations: 0.585 MB / 3.781 GB, free: 297.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/7.963, allocations: 3.719 kB / 3.781 GB, free: 297.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00173/7.965, allocations: 324.1 kB / 3.781 GB, free: 297.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (10): * Single equations (assignments): 10 * 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.003328/7.968, allocations: 1.724 MB / 3.783 GB, free: 296.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006285/7.969, allocations: 242.7 kB / 3.783 GB, free: 296.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/7.969, allocations: 0 / 3.783 GB, free: 296.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 6.63e-05/7.969, allocations: 51.22 kB / 3.783 GB, free: 296.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/7.971, allocations: 353.9 kB / 3.784 GB, free: 296.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/7.973, allocations: 1.248 MB / 3.785 GB, free: 296 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/7.974, allocations: 0.9545 MB / 3.786 GB, free: 295.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000682/7.975, allocations: 137.4 kB / 3.786 GB, free: 295.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/7.975, allocations: 48 kB / 3.786 GB, free: 295.3 MB / 1.167 GB Notification: Performance of SimCode: time 3.937e-06/7.975, allocations: 0 / 3.786 GB, free: 295.3 MB / 1.167 GB Notification: Performance of Templates: time 0.04502/8.02, allocations: 31.33 MB / 3.817 GB, free: 293.9 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches