Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.39/1.39, allocations: 249.3 MB / 261.9 MB, free: 5.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 180.4 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009881/0.0009881, allocations: 82.5 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.517e-05, allocations: 4 kB / 0.7879 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2412, allocations: 106.3 MB / 0.8918 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.983/6.224, allocations: 2.202 GB / 3.094 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/6.225, allocations: 87.95 kB / 3.094 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.395/8.62, allocations: 0.5874 GB / 3.682 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.933e-06/8.62, allocations: 3.438 kB / 3.682 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.878e-05/8.62, allocations: 11.75 kB / 3.682 GB, free: 182.6 MB / 0.8698 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.002956/8.623, allocations: 1.029 MB / 3.683 GB, free: 182 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/8.623, allocations: 10.34 kB / 3.683 GB, free: 182 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/8.624, allocations: 170.5 kB / 3.683 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/8.626, allocations: 0.5323 MB / 3.683 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003514/8.626, allocations: 115.8 kB / 3.683 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/8.626, allocations: 63.81 kB / 3.684 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/8.627, allocations: 0.7077 MB / 3.684 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/8.627, allocations: 5.562 kB / 3.684 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/8.627, allocations: 38.86 kB / 3.684 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/8.627, allocations: 19.34 kB / 3.684 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006307/8.628, allocations: 383.6 kB / 3.685 GB, free: 181.4 MB / 0.8698 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.003613/8.632, allocations: 4.218 MB / 3.689 GB, free: 178.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.752e-05/8.632, allocations: 103.2 kB / 3.689 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.68e-05/8.632, allocations: 70.23 kB / 3.689 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/8.632, allocations: 94.86 kB / 3.689 GB, free: 178.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/8.632, allocations: 36.41 kB / 3.689 GB, free: 178 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/8.632, allocations: 3.438 kB / 3.689 GB, free: 178 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0005052/8.633, allocations: 189.4 kB / 3.689 GB, free: 178 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/8.633, allocations: 138.6 kB / 3.689 GB, free: 177.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008429/8.634, allocations: 0.7045 MB / 3.69 GB, free: 177.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/8.634, allocations: 31.91 kB / 3.69 GB, free: 177.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/8.634, allocations: 397.6 kB / 3.69 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/8.634, allocations: 43.03 kB / 3.69 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.342e-05/8.634, allocations: 3.875 kB / 3.69 GB, free: 177.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.921e-05/8.634, allocations: 324 kB / 3.691 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/8.634, allocations: 78.94 kB / 3.691 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/8.634, allocations: 330.1 kB / 3.691 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/8.635, allocations: 132.3 kB / 3.691 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/8.635, allocations: 6.75 kB / 3.691 GB, free: 176.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006524/8.635, allocations: 428.1 kB / 3.692 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/8.635, allocations: 12.34 kB / 3.692 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/8.635, allocations: 7.938 kB / 3.692 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/8.635, allocations: 10.81 kB / 3.692 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/8.636, allocations: 96.48 kB / 3.692 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.81e-05/8.636, allocations: 13.62 kB / 3.692 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007199/8.636, allocations: 133.5 kB / 3.692 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/8.636, allocations: 27.19 kB / 3.692 GB, free: 176.8 MB / 0.8698 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 () * 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 8.908e-05/8.637, allocations: 128.3 kB / 3.692 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/8.637, allocations: 71.78 kB / 3.692 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/8.637, allocations: 72.78 kB / 3.692 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/8.637, allocations: 0 / 3.692 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/8.637, allocations: 10.36 kB / 3.692 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/8.637, allocations: 0 / 3.692 GB, free: 176.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/8.638, allocations: 1.11 MB / 3.693 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/8.638, allocations: 0 / 3.693 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-05/8.638, allocations: 18.66 kB / 3.693 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/8.638, allocations: 6.094 kB / 3.693 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/8.638, allocations: 3.938 kB / 3.693 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/8.638, allocations: 6.375 kB / 3.693 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/8.638, allocations: 0 / 3.693 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/8.638, allocations: 375.4 kB / 3.694 GB, free: 175.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/8.639, allocations: 172.5 kB / 3.694 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.349e-05/8.639, allocations: 9.625 kB / 3.694 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002976/8.639, allocations: 22.14 kB / 3.694 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/8.639, allocations: 29.36 kB / 3.694 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/8.639, allocations: 3.531 kB / 3.694 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006058/8.64, allocations: 0.5415 MB / 3.695 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.31e-07/8.64, allocations: 0 / 3.695 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001157/8.641, allocations: 312.5 kB / 3.695 GB, free: 175.4 MB / 0.8698 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 () * 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.002784/8.644, allocations: 1.73 MB / 3.697 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003923/8.644, allocations: 203.9 kB / 3.697 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/8.644, allocations: 0 / 3.697 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/8.644, allocations: 46.7 kB / 3.697 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/8.646, allocations: 364.3 kB / 3.697 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/8.647, allocations: 0.7405 MB / 3.698 GB, free: 174.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004707/8.648, allocations: 0.9502 MB / 3.699 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006006/8.649, allocations: 139.4 kB / 3.699 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/8.649, allocations: 49.28 kB / 3.699 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.393e-06/8.649, allocations: 2.953 kB / 3.699 GB, free: 173.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.04825/8.697, allocations: 35.74 MB / 3.734 GB, free: 167.7 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches