Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.425/2.425, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001411/0.001411, allocations: 182.4 kB / 0.4902 GB, free: 2.266 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.515/1.515, allocations: 223.1 MB / 0.7992 GB, free: 15.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.001251/0.001251, allocations: 96.27 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.000393, allocations: 13.17 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.294, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.834/5.128, allocations: 1.93 GB / 3.16 GB, free: 2.109 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/5.128, allocations: 89.27 kB / 3.16 GB, free: 2.062 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.846/7.974, allocations: 0.615 GB / 3.775 GB, free: 300.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.933e-06/7.974, allocations: 0 / 3.775 GB, free: 300.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.176e-05/7.974, allocations: 19.83 kB / 3.775 GB, free: 300.2 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.002173/7.976, allocations: 1.133 MB / 3.776 GB, free: 299.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/7.976, allocations: 10.94 kB / 3.776 GB, free: 299.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008423/7.977, allocations: 185.6 kB / 3.776 GB, free: 298.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008584/7.978, allocations: 0.5439 MB / 3.777 GB, free: 298.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/7.978, allocations: 112.6 kB / 3.777 GB, free: 298.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.719e-05/7.979, allocations: 63.94 kB / 3.777 GB, free: 298.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009744/7.98, allocations: 0.748 MB / 3.777 GB, free: 297.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/7.98, allocations: 7.938 kB / 3.777 GB, free: 297.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.867e-05/7.98, allocations: 27.98 kB / 3.777 GB, free: 297.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/7.98, allocations: 21 kB / 3.777 GB, free: 297.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000794/7.98, allocations: 460.6 kB / 3.778 GB, free: 296.9 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.003165/7.984, allocations: 4.201 MB / 3.782 GB, free: 292.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/7.984, allocations: 112.9 kB / 3.782 GB, free: 292.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001619/7.984, allocations: 97 kB / 3.782 GB, free: 292.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/7.984, allocations: 38.5 kB / 3.782 GB, free: 292.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 4.94e-06/7.984, allocations: 4 kB / 3.782 GB, free: 292.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.0006166/7.985, allocations: 236.1 kB / 3.782 GB, free: 291.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/7.985, allocations: 140.5 kB / 3.783 GB, free: 291.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008519/7.986, allocations: 0.7459 MB / 3.783 GB, free: 291 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/7.986, allocations: 25.7 kB / 3.783 GB, free: 291 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/7.986, allocations: 402.9 kB / 3.784 GB, free: 290.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/7.986, allocations: 35.45 kB / 3.784 GB, free: 290.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/7.986, allocations: 12 kB / 3.784 GB, free: 290.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.869e-05/7.986, allocations: 318 kB / 3.784 GB, free: 290.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/7.986, allocations: 111.5 kB / 3.784 GB, free: 290.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/7.986, allocations: 357.6 kB / 3.785 GB, free: 289.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/7.987, allocations: 172.7 kB / 3.785 GB, free: 289.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/7.987, allocations: 0 / 3.785 GB, free: 289.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007638/7.988, allocations: 495.5 kB / 3.785 GB, free: 289 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/7.988, allocations: 19.19 kB / 3.785 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/7.988, allocations: 8 kB / 3.785 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/7.988, allocations: 8 kB / 3.785 GB, free: 289 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002935/7.988, allocations: 87.89 kB / 3.785 GB, free: 288.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/7.988, allocations: 15.94 kB / 3.785 GB, free: 288.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006941/7.989, allocations: 135.2 kB / 3.785 GB, free: 288.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.334e-05/7.989, allocations: 27.98 kB / 3.785 GB, free: 288.7 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.0002235/7.989, allocations: 225.6 kB / 3.786 GB, free: 288.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/7.989, allocations: 71.16 kB / 3.786 GB, free: 288.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/7.989, allocations: 77.27 kB / 3.786 GB, free: 288.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/7.989, allocations: 4 kB / 3.786 GB, free: 288.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/7.989, allocations: 4.062 kB / 3.786 GB, free: 288.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/7.989, allocations: 0 / 3.786 GB, free: 288.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/7.99, allocations: 1.125 MB / 3.787 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/7.99, allocations: 4 kB / 3.787 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.612e-05/7.99, allocations: 19.92 kB / 3.787 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/7.99, allocations: 4 kB / 3.787 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/7.99, allocations: 8 kB / 3.787 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/7.99, allocations: 4 kB / 3.787 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/7.99, allocations: 11.44 kB / 3.787 GB, free: 287.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/7.991, allocations: 361.9 kB / 3.787 GB, free: 286.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/7.991, allocations: 168.1 kB / 3.787 GB, free: 286.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/7.991, allocations: 15.67 kB / 3.787 GB, free: 286.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/7.991, allocations: 22.77 kB / 3.788 GB, free: 286.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/7.991, allocations: 11.7 kB / 3.788 GB, free: 286.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/7.991, allocations: 15.94 kB / 3.788 GB, free: 286.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0006621/7.992, allocations: 0.5844 MB / 3.788 GB, free: 285.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/7.992, allocations: 0 / 3.788 GB, free: 285.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001255/7.993, allocations: 315.8 kB / 3.788 GB, free: 285.5 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.002234/7.996, allocations: 1.726 MB / 3.79 GB, free: 283.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004873/7.996, allocations: 237 kB / 3.79 GB, free: 283.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/7.996, allocations: 0 / 3.79 GB, free: 283.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 5.739e-05/7.996, allocations: 51.86 kB / 3.79 GB, free: 283.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/7.997, allocations: 356 kB / 3.791 GB, free: 283.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/7.999, allocations: 1.24 MB / 3.792 GB, free: 281.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/7.999, allocations: 0.9528 MB / 3.793 GB, free: 281 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0004689/8, allocations: 145.8 kB / 3.793 GB, free: 280.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.681e-05/8, allocations: 43.44 kB / 3.793 GB, free: 280.8 MB / 1.167 GB Notification: Performance of SimCode: time 4.21e-07/8, allocations: 6.844 kB / 3.793 GB, free: 280.8 MB / 1.167 GB Notification: Performance of Templates: time 0.03927/8.039, allocations: 31.33 MB / 3.824 GB, free: 249.7 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches