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.53/2.53, allocations: 390.5 MB / 398 MB, free: 10.96 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.001186/0.001186, allocations: 175.8 kB / 491.2 MB, free: 1.566 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.819/1.819, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001064/0.001063, allocations: 95.81 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.702e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3334, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.262/6.596, allocations: 1.93 GB / 3.142 GB, free: 400 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/6.596, allocations: 83.95 kB / 3.142 GB, free: 399.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.295/8.891, allocations: 0.6075 GB / 3.75 GB, free: 218.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.944e-06/8.892, allocations: 0 / 3.75 GB, free: 218.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.955e-05/8.892, allocations: 15.98 kB / 3.75 GB, free: 218.9 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.00314/8.895, allocations: 1.039 MB / 3.751 GB, free: 217.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/8.895, allocations: 8.031 kB / 3.751 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001197/8.896, allocations: 183 kB / 3.751 GB, free: 217.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/8.897, allocations: 0.5466 MB / 3.751 GB, free: 217.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000365/8.898, allocations: 85.25 kB / 3.751 GB, free: 217 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/8.898, allocations: 40 kB / 3.751 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00073/8.899, allocations: 318.5 kB / 3.752 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009598/8.9, allocations: 0.6327 MB / 3.752 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/8.9, allocations: 7.938 kB / 3.752 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-05/8.9, allocations: 0 / 3.752 GB, free: 215.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/8.9, allocations: 24.17 kB / 3.752 GB, free: 215.9 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.003746/8.904, allocations: 4.019 MB / 3.756 GB, free: 211.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/8.904, allocations: 98.83 kB / 3.756 GB, free: 211.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.754e-05/8.904, allocations: 63.59 kB / 3.756 GB, free: 211.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/8.904, allocations: 101 kB / 3.757 GB, free: 211.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/8.904, allocations: 38.56 kB / 3.757 GB, free: 211.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 2.164e-06/8.904, allocations: 3.938 kB / 3.757 GB, free: 211.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0005318/8.905, allocations: 160.9 kB / 3.757 GB, free: 211.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/8.905, allocations: 132.6 kB / 3.757 GB, free: 210.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005036/8.905, allocations: 458.2 kB / 3.757 GB, free: 210.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/8.905, allocations: 25.7 kB / 3.757 GB, free: 210.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/8.905, allocations: 418.8 kB / 3.758 GB, free: 210 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/8.905, allocations: 31.55 kB / 3.758 GB, free: 210 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/8.905, allocations: 0 / 3.758 GB, free: 210 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001002/8.906, allocations: 358.8 kB / 3.758 GB, free: 209.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/8.906, allocations: 75.92 kB / 3.758 GB, free: 209.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001908/8.906, allocations: 311.7 kB / 3.758 GB, free: 209.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/8.906, allocations: 135.8 kB / 3.759 GB, free: 209 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/8.906, allocations: 0 / 3.759 GB, free: 209 MB / 1.151 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005424/8.907, allocations: 372.7 kB / 3.759 GB, free: 208.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/8.907, allocations: 9.719 kB / 3.759 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/8.907, allocations: 8 kB / 3.759 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/8.907, allocations: 12 kB / 3.759 GB, free: 208.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/8.907, allocations: 100.4 kB / 3.759 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/8.907, allocations: 11.98 kB / 3.759 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005935/8.908, allocations: 95.47 kB / 3.759 GB, free: 208.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/8.908, allocations: 27.94 kB / 3.759 GB, free: 208.4 MB / 1.151 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 9.507e-05/8.908, allocations: 120.8 kB / 3.759 GB, free: 208.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/8.908, allocations: 55.3 kB / 3.759 GB, free: 208.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.424e-05/8.908, allocations: 52.25 kB / 3.759 GB, free: 208.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/8.908, allocations: 0 / 3.759 GB, free: 208.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.423e-06/8.908, allocations: 4 kB / 3.759 GB, free: 208.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/8.908, allocations: 0 / 3.759 GB, free: 208.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/8.909, allocations: 1.039 MB / 3.76 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/8.909, allocations: 0 / 3.76 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.157e-05/8.909, allocations: 20.3 kB / 3.76 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/8.909, allocations: 8.188 kB / 3.76 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/8.909, allocations: 3.938 kB / 3.76 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/8.909, allocations: 4 kB / 3.76 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/8.909, allocations: 4 kB / 3.76 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/8.91, allocations: 339.5 kB / 3.761 GB, free: 206.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/8.91, allocations: 144.4 kB / 3.761 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/8.91, allocations: 4.094 kB / 3.761 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/8.91, allocations: 31.91 kB / 3.761 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/8.91, allocations: 11.94 kB / 3.761 GB, free: 206.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/8.91, allocations: 4 kB / 3.761 GB, free: 206.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003149/8.91, allocations: 338.9 kB / 3.761 GB, free: 206 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.31e-07/8.91, allocations: 0 / 3.761 GB, free: 206 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001082/8.912, allocations: 295.3 kB / 3.762 GB, free: 205.7 MB / 1.151 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.002889/8.914, allocations: 1.932 MB / 3.763 GB, free: 203.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003323/8.915, allocations: 184.2 kB / 3.764 GB, free: 203.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/8.915, allocations: 0 / 3.764 GB, free: 203.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.282e-05/8.915, allocations: 43.86 kB / 3.764 GB, free: 203.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009195/8.916, allocations: 195.5 kB / 3.764 GB, free: 203.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/8.917, allocations: 0.7042 MB / 3.765 GB, free: 202.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/8.918, allocations: 0.9517 MB / 3.766 GB, free: 201.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0004505/8.918, allocations: 100.5 kB / 3.766 GB, free: 201.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.346e-05/8.918, allocations: 35.44 kB / 3.766 GB, free: 201.4 MB / 1.151 GB Notification: Performance of SimCode: time 4.91e-07/8.918, allocations: 0 / 3.766 GB, free: 201.4 MB / 1.151 GB Notification: Performance of Templates: time 0.02547/8.944, allocations: 16.39 MB / 3.782 GB, free: 185.2 MB / 1.151 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